Function to subsample cells

subsampleCells(cluster.names, subSamp = 25, seed = 5)

Arguments

cluster.names

A vector of cluster names in the reference taxonomy.

subSamp

Number of cells to keep per cluster.

seed

Random seed used for subsampling.

Value

Boolean vector of cells to keep (TRUE) and cells to remove (FALSE)