markClusterCol: markClusterCol

Description Usage Arguments Value Examples

View source: R/addClusterCols.R

Description

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.

Usage

1

Arguments

object

Either a Seurat or SCE object containing clustering information

pattern

pattern indicating which columns contain cluster information

Value

A Seurat or SCE object

Examples

1
2
3
sceObj <- readRDS(file.path(system.file(package = "Spaniel"),
                        "extdata/sceData.rds"))
sceObj <- markClusterCol(sceObj, "res")

RachelQueen1/Spaniel documentation built on May 20, 2021, 5:21 p.m.