Append new columns to colData
of a SingleCellExperiment
or SpatialExperiment
object.
Source: R/sce.R
sce_add_spatial_colData.Rd
Append new columns to colData
of a SingleCellExperiment
or SpatialExperiment
object.
Examples
if (FALSE) { # \dontrun{
df <- data.frame(example = rownames(colnames))
sce <- sce_add_colData(sce, df = df)
} # }