Append data to metadata()
list of a SingleCellExperiment
object.
Source: R/sce.R
sce_add_metadata.Rd
utils::modifyList()
is used internally, so existing named items in metadata()
can be overwritten.
Examples
if (FALSE) {
sce <- sce_add_metadata(sce, a = 1, "some_data", b = list(c = 1))
}