detect_genes: Detects genes above minimum threshold.

View source: R/utils.R

detect_genesR Documentation

Detects genes above minimum threshold.

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

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

## Not run: 
   cds <- detect_genes(cds, min_expr=0.1)

## End(Not run)

cole-trapnell-lab/monocle3 documentation built on April 7, 2024, 9:24 p.m.