sce_add_colData | R Documentation |
colData
of a SingleCellExperiment
object.Append new columns to colData
of a SingleCellExperiment
object.
sce_add_colData(sce, df, replace = TRUE)
sce |
A |
df |
A dataframe which will be binded column-wise to |
replace |
A logical scalar: if |
A modified sce
object with added columns.
## Not run:
df <- data.frame(example = rownames(colnames))
sce <- sce_add_colData(sce, df = df)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.