topN_mat: For a numeric matrix containing samples or conditions in its...

Description Usage Arguments Value

Description

For a numeric matrix containing samples or conditions in its columns and typically genes in its rows, this function will find the top N genes for a given condition. You can choose to retrieve both genes with highest and lowest values, respectively or either one of them.

Usage

1
topN_mat(mat, direction = c("both", "up", "down"), nn = 25, verbose = TRUE)

Arguments

mat

numeric matrix

direction

character, which tail should be returned, defaults to both up and down

nn

integer indicating how many genes to isolate for each tail (default = 25)

Value

a data frame with gene names for from the rownames of the input matrix


fossbert/binilib documentation built on April 23, 2021, 10:31 p.m.