Description Usage Arguments Value Examples
View source: R/addClusterCols.R
A function to mark the columns containing cluster information in the metadata or colData of a Seurat or SCE object. Columns are marked with "cluster_" prefix.
1 | markClusterCol(object, pattern)
|
object |
Either a Seurat or SCE object containing clustering information |
pattern |
pattern indicating which columns contain cluster information |
A Seurat or SCE object
1 2 3 | SeuratObj <- readRDS(file.path(system.file(package = "Spaniel"),
"extdata/SeuratData.rds"))
SeuratObj <- markClusterCol(SeuratObj, "res")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.