Skip to contents

utils::modifyList() is used internally, so existing named items in metadata() can be overwritten.

Usage

sce_add_metadata(sce, ...)

Arguments

sce

A SingleCellExperiment object.

...

Objects to be added to metadata(sce).

Value

A modified sce object with data appended to its metadata().

Examples

if (FALSE) {
sce <- sce_add_metadata(sce, a = 1, "some_data", b = list(c = 1))
}