View source: R/allBuildEnrichTable.R
allBuildEnrichTable | R Documentation |
buildEnrichTable
along the specified GO ontologies and GO levelsIterate buildEnrichTable
along the specified GO ontologies and GO levels
allBuildEnrichTable(
x,
check.table = TRUE,
ontos = c("BP", "CC", "MF"),
GOLevels = seq.int(3, 10),
trace = TRUE,
...
)
x |
object of class "list". Each of its elements must be a "character" vector of gene identifiers (e.g., ENTREZ). Then all pairwise contingency tables of joint enrichment are built between these gene lists, iterating the process for all specified GO ontologies and GO levels. |
check.table |
Boolean. If TRUE (default), all resulting tables are checked by means
of function |
ontos |
"character", GO ontologies to analyse. Defaults to |
GOLevels |
"integer", GO levels to analyse inside each of these GO ontologies. |
trace |
Logical. If TRUE (default), the (usually very time consuming) process of function
|
... |
extra parameters for function |
An object of class "allTableList". It is a list with as many components as GO ontologies have been
analysed.
Each of these elements is itself a list with as many components as GO levels have been analised.
Finally, the elements of these lists are objects as generated by buildEnrichTable.list
,
i.e., objects of class "tableList" containing all pairwise contingency tables of mutual enrichment
between the gene lists in argument x
.
# This example is highly time-consuming. It scans two GO ontologies and three
# GO levels inside them to obtain the contingency tables of joint enrichment.
# Obtaining ENTREZ identifiers for the gene universe of humans:
# library(org.Hs.eg.db)
# humanEntrezIDs <- keys(org.Hs.eg.db, keytype = "ENTREZID")
# Gene lists to be explored for enrichment:
# data(allOncoGeneLists)
# Computing Contingency Tables for all the possible pairwise comparisons for
# the ontologies MF, BP, and the GO levels from 4 to 6:
# allBuildEnrichTable(allOncoGeneLists,
# geneUniverse = humanEntrezIDs, orgPackg = "org.Hs.eg.db",
# ontos = c("MF", "BP"), GOLevels = seq.int(4,6))
# When the "ontos" and "GOLevels" arguments are not supplied, the function computes
# by default every possible contingency table between the lists being compared for
# the three ontologies (BP, CC, MF) and GO levels from 3 to 10.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.