clean.counts: Filter counts matrix

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Filter counts matrix based on gene and cell requirements

Usage

1
2
clean.counts(counts, min.lib.size = 1800, min.reads = 10,
  min.detected = 5)

Arguments

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)

Value

a filtered read count matrix

Examples

1
2
3
4

scde documentation built on Nov. 8, 2020, 6:19 p.m.