Function to subsample cells
Usage
subsampleCells(cluster.names, subSamp = 25, seed = 5, use.historical = FALSE)
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.
- use.historical
Defualt (FALSE) uses new, faster implementation. Set to TRUE to use the historical, but slower implementation for back-compatibility.
Value
Boolean vector of cells to keep (TRUE) and cells to remove (FALSE)