Learn R Programming

tmod (version 0.30)

showModule: Select genes belonging to a module from a data frame

Description

Select genes belonging to a module from a data frame or vector

Usage

showModule(x, genes, module, mset = "all", extra = TRUE)

Arguments

x
a data frame or a vector
genes
a character vector with gene IDs
module
a single character value, ID of the module to be shown
mset
Module set to use; see "tmodUtest" for details
extra
If true, additional information about the features will be shown

Details

showModule filters a data frame or a vector such that only genes from a module are shown. Use it, for example, to show a subset of topTable result from limma in order to see which genes from a module are significantly regulated. In essence, this is just a wrapper around "subset()".