Learn R Programming

monocle3 (version 1.0.0)

detect_genes: 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

Run this code
# NOT RUN {
cds <- detect_genes(cds, min_expr=0.1)
# }

Run the code above in your browser using DataLab