nTopMax: nTopMax

Description Usage Arguments Details Value Author(s)

Description

Facilitates gene selection prior to unsupervised clustering.

Usage

1
nTopMax(cpm, n, safe = TRUE)

Arguments

cpm

matrix; Matrix containing cpm values.

n

integer; 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 expression in the spCounts object. The expression matrix in the counts.cpm slot is 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.