R/utilities.R
CellsPerGroup.Rd
Count the number of cells in each group
CellsPerGroup(object, group.by = NULL)
A Seurat object
A grouping variable. Default is the active identities
Returns a vector
CellsPerGroup(atac_small) #> 1 0 <NA> #> 50 50 0