Description Usage Arguments Value Author(s)
Extracts the information for genomic enrichment.
1 2 3 4 5 6 7 8 | extractEnrichment(
categories,
tail,
categoriesOverlaps,
theoricalMeans,
categoriesCount,
pAdjust = "BH"
)
|
tail |
If "lower" then, probabilities are P[X > x], if "higher", P[X <= x], if "both" then higher or lower is selected depending on the number of overlaps vs the theorical mean. |
categoriesOverlaps |
The number of overlaps for each category. |
theoricalMeans |
The mean number of overlaps for each category. |
categoriesCount |
A vector representing the number of time a category is found in the catalog. |
pAdjust |
method used to correct p-values for multiple testing. Supported: "BH" (Benjamini-Hochberg), "BY", "bonferroni". |
categories=unique(catalog@elementMetadata$id) |
The categories contained in the catalog. This option is leaved for faster calculation when this function is runned multiple times. |
A data frame containing the enrichment informations.
Zacharie Menetrier
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.