genesInEnrichedCategories | R Documentation |
This function takes a gene list and a list of IDs of (enriched) categories and returns a bolean matrix where each column indicates whether or not the gene is member of the corresponding categories.
genesInEnrichedCategories(categoryIDs, geneList, funcCategories = NULL, species = NULL)
categoryIDs |
A list of functional category IDs. |
geneList |
A gene list to be tested for enrichment of functional categories. |
funcCategories |
A collection of gene sets, representing functional categories. |
species |
Two letter description of the species to be used to generate gene ontology categories (e.g. "Hs" for human, "Mm" for mouse). This parameter is used when funcCategories = "GO" |
coming soon.
A matrix with rows representing the functional categories and columns representing the genes.
Johannes Freudenberg, Xiangdong Liu, Mario Medvedovic.
Coming soon.
geneListEnrichment
data(gimmOut)
require(CLEAN.Rn)
require(org.Rn.eg.db)
geneList <- gimmOut$clustData[,1]
allGenes <- unique(keys(org.Rn.egSYMBOL)) #one should really use the list of
#genes represented on the microarray instead
res <- geneListEnrichment(geneList, allGenes, functionalCategories = "GO",
species = "Rn", sigFDR = 0.01, maxGenesInCategory = 10000)
#display membership of each gene in top ten categories
genesInEnrichedCategories(res[1:10,1], geneList, funcCategories = "GO", species = "Rn")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.