limma (version 3.28.14)

topRomer: Top Gene Set Testing Results from Romer

Description

Extract a matrix of the top gene set testing results from the romer output.

Usage

topRomer(x,n=10,alternative="up")

Arguments

x
matrix which is the output from romer.
n
number of top gene set testing results to be extracted.
alternative
character which can be one of the three possible alternative p values: "up", "down" or "mixed".

Value

matrix, which is sorted by the "up", "down" or "mixed" p values, with the rows corresponding to estimated p-values for the top number of gene sets and the columns corresponding to the number of genes for each gene set and the alternative hypotheses mixed, up, down.

Details

This function takes the results from romer and returns a number of top gene set testing results that are sorted by the p values.

See Also

romer

There is a topic page on 10.GeneSetTests.

Examples

Run this code
# See romer for examples

Run the code above in your browser using DataCamp Workspace