Calculate Cluster Stats — Cluster_Stats_All_Samples (original) (raw)
Source: R/Statistics.R
Cluster_Stats_All_Samples.Rd
Calculates both overall and per sample cell number and percentages per cluster based on orig.ident.
Cluster_Stats_All_Samples(seurat_object, group_by_var = "orig.ident")
Arguments
seurat_object
Seurat object name.
group_by_var
meta data column to classify samples (default = "orig.ident").
Value
A data.frame with rows in order of frequency
Examples
if (FALSE) {
stats <- Cluster_Stats_All_Samples(seurat_object = object, group_by_var = "orig.ident")
}