MostVariableRows: Get most variable rows from a numeric matrix#'

Description Usage Arguments Author(s) Examples

View source: R/src_MostVariableRows.R

Description

Find most variable rows of a numeric matrix. If rownames are present returns those, if not returns row index.

Usage

1
MostVariableRows(counts, ntop = 1000, type = c("rv", "mgv"))

Arguments

counts

numeric matrix

ntop

number of most most variable rows to return

type

c("rv", "mgv") rv: selection by rowVars and mgv: selection based on the scran function modelGeneVar followed by getTopHVGs (take the top ntop) and return rownames

Author(s)

Alexander Toenges

Examples

1
2
counts <-lapply(seq(1,4), function(x) rnorm(20)) %>% do.call(cbind, .)
MostVariableRows(counts, 10)

ATpoint/diffanalyseR documentation built on Oct. 8, 2021, 10:11 p.m.