Count the number of cells in each group

CellsPerGroup(object, group.by = NULL)

Arguments

object

A Seurat object

group.by

A grouping variable. Default is the active identities

Value

Returns a vector

Examples

CellsPerGroup(atac_small)
#>    1    0 <NA> 
#>   50   50    0