clean.counts | R Documentation |
Filter counts matrix based on gene and cell requirements
clean.counts(counts, min.lib.size = 1800, min.reads = 10,
min.detected = 5)
counts |
read count matrix. The rows correspond to genes, columns correspond to individual cells |
min.lib.size |
Minimum number of genes detected in a cell. Cells with fewer genes will be removed (default: 1.8e3) |
min.reads |
Minimum number of reads per gene. Genes with fewer reads will be removed (default: 10) |
min.detected |
Minimum number of cells a gene must be seen in. Genes not seen in a sufficient number of cells will be removed (default: 5) |
a filtered read count matrix
data(pollen)
dim(pollen)
cd <- clean.counts(pollen)
dim(cd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.