useVariableGenes: useVariableGenes

Description Usage Arguments Value Examples

Description

Reduces an EMSet to a range of the most variable genes as determined by the values calculated by calculateCV.

Usage

1
2
3
4
useVariableGenes(object, ngenes)

## S4 method for signature 'EMSet'
useVariableGenes(object, ngenes = 1500)

Arguments

object

EMSet

ngenes

Number of variable genes to use (Default: 1500 genes)

Value

EMSet reduced to specified number of variable genes.

Examples

1
2
3
4
5
6
7
8
# Load example EMSet
em_set <- ascend::analyzed_set

# Calculate gene variance
em_set <- calculateCV(em_set)
  
# Use 1500 of the most variable genes
em_set <- useVariableGenes(em_set, ngenes = 1500)

IMB-Computational-Genomics-Lab/ascend documentation built on Aug. 29, 2019, 4:10 a.m.