View source: R/countland_subsample.R
| Subsample | R Documentation | 
Subsample cells to a standard number of counts by randomly sampling observations without replacement.
Subsample(C, gene_counts = NA, cell_counts = NA)
| C | countland object | 
| gene_counts | maximum total counts for genes | 
| cell_counts | sequencing depth for all cells, or "min" to use the minimum cell total | 
countland object with slot subsample
gold_path <- system.file("testdata", package = "countland", mustWork = TRUE)
gold.data <- Seurat::Read10X(data.dir = gold_path)
C <- countland(gold.data)
C <- Subsample(C,gene_counts=250,cell_counts=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.