Cluster_Stats_All_Samples: Calculate Cluster Stats

View source: R/Statistics.R

Cluster_Stats_All_SamplesR Documentation

Calculate Cluster Stats

Description

Calculates both overall and per sample cell number and percentages per cluster based on orig.ident.

Usage

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

## Not run: 
stats <- Cluster_Stats_All_Samples(seurat_object = object, group_by_var = "orig.ident")

## End(Not run)


samuel-marsh/scCustomize documentation built on Dec. 20, 2024, 7:41 a.m.