nTopVar: nTopVar

Description Usage Arguments Details Value Author(s)

Description

Facilitates gene selection using variance.

Usage

1
nTopVar(cpm, n, safe = TRUE)

Arguments

cpm

matrix; Matrix containing cpm values.

n

Number of genes to select.

safe

logical; Should input and output checks be on?

Details

Returns the index for the n genes (rows) with the maximum variance in the counts object. Counts per million (CPM) should be used for the calculation.

Value

A numeric vector containing the indices of selected genes.

Author(s)

Jason T. Serviss


martinenge/RNAseqFunctions documentation built on May 28, 2019, 3:10 p.m.