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)
#> 0 1 #> 55 45