GetCluster {SCIntRuler} | R Documentation |
Get broad and fine clusters
Description
Get broad and fine clusters
Usage
GetCluster(seuratlist, n1 = 50, n2 = 200)
Arguments
seuratlist |
A list of Seurat objects, usually can be got by SplitObject(). We also accept the SingleCellExperiment object input. |
n1 |
If the number of cells was smaller than n1, then the cluster will remain unchanged called rare cluster. The default value of n1 is 50. |
n2 |
If the count of cells within a broad cluster is more than n2, the cluster is subdivided randomly into three fine clusters. If the cell count falls within the range of n1 to n2, two fine clusters are generated randomly. Default value is 200. |
Value
A list of data frames.
Examples
data(sim_data_sce)
sim_data <- SCEtoSeurat(sim_data_sce)
seuratlist <- Seurat::SplitObject(sim_data, split.by = "Study")
fullcluster <- GetCluster(seuratlist)
[Package SCIntRuler version 0.99.6 Index]