Learn R Programming

tmod (version 0.44)

getGenes: Get genes belonging to a module

Description

Get genes belonging to a module

Usage

getGenes(modules, genelist = NULL, fg = NULL, mset = "LI", as.list = FALSE)

Arguments

modules

module IDs

genelist

list of genes

fg

genes which are in the foreground set

mset

module set to use

as.list

should a list of genes rather than a data frame be returned

Value

data frame containing module to gene mapping, or a list (if as.list == TRUE

Details

Create a data frame mapping each module to a comma separated list of genes. If genelist is provided, then only genes in that list will be shown. An optional column, "fg" informs which genes are in the "foreground" data set.