| rename {scater} | R Documentation |
colData(object).Rename variables of colData(object).
rename(object, ...) ## S4 method for signature 'SingleCellExperiment' rename(object, ...)
object |
A |
... |
Additional arguments to be passed to |
An SingleCellExperiment object.
data("sc_example_counts")
data("sc_example_cell_info")
example_sce <- SingleCellExperiment(
assays = list(counts = sc_example_counts),
colData = sc_example_cell_info)
example_sce <- rename(example_sce, Cell_Phase = Cell_Cycle)