Calculates both overall and per sample cell number and percentages per cluster based on orig.ident.
Cluster_Stats_All_Samples(
seurat_object,
group.by = "orig.ident",
order_by_freq = TRUE
)Seurat object name.
meta data column to classify samples (default = "orig.ident").
logical, whether the data.frame should be ordered by frequency of identity (default; TRUE), or by cluster/fector order (FALSE).
A data.frame with rows in order of frequency or cluster order
if (FALSE) {
stats <- Cluster_Stats_All_Samples(seurat_object = object, group.by = "orig.ident")
}