Description Usage Arguments Author(s)
View source: R/downsample_cells.R
Downsample to get fewer cells from the specified cell type
1 | downsample_cells(keptExp, prop_cell = NULL, n_top_genes = NULL)
|
keptExp |
A dgCMatrix object where genes as rows and cells as columns. Output from scFlowExamples::merge_zeisel_celltypes() function. |
prop_cell |
A vector containing cell proportion to downsample. Should be of same length as the cell types in the dgCMatrix. Value ranges between 0-1. |
n_top_genes |
Number of top variable genes to downsample. If NULL all genes are returned. |
Nurun Fancy n.fancy@imperial.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.