detect_genes: Detects genes above minimum threshold.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

For each gene in a cell_data_set object, detect_genes counts how many cells are expressed above a minimum threshold. In addition, for each cell, detect_genes counts the number of genes above this threshold that are detectable. Results are added as columns num_cells_expressed and num_genes_expressed in the rowData and colData tables respectively.

Usage

1
detect_genes(cds, min_expr = 0)

Arguments

cds

Input cell_data_set object.

min_expr

Numeric indicating expression threshold

Value

Updated cell_data_set object

Examples

1
2
3
4
## Not run: 
cds <- detect_genes(cds, min_expr=0.1)

## End(Not run)

cole-trapnell-lab/monocle3 documentation built on April 8, 2021, 5:54 a.m.