Calculate number of cells to downsample per group

NumCellsPerGroup(groups, total.cells = NULL, cells.per.group = NULL)

Arguments

groups

vector of groups for each cell barcode

total.cells

total number of cells

cells.per.group

number of cells to select per group

Value

Number of cells per group