Get genes belonging to a gene set
getGenes(gs = NULL, genes = NULL, fg = NULL, mset = "all", as.list = FALSE)
data frame containing module to gene mapping, or a list (if as.list == TRUE
gene set IDs; if NULL, returns all genes from all gene sets
character vector with gene IDs. If not NULL, only genes from this parameter will be considered.
genes which are in the foreground set
gene set to use (default: all tmod gene sets)
should a list of genes rather than a data frame be returned
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.