Cluster_Stats_All_Samples | R Documentation |
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 = deprecated(),
group.by = "orig.ident",
order_by_freq = TRUE
)
seurat_object |
Seurat object name. |
group_by_var |
|
group.by |
meta data column to classify samples (default = "orig.ident"). |
order_by_freq |
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
## Not run:
stats <- Cluster_Stats_All_Samples(seurat_object = object, group.by = "orig.ident")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.