Description Usage Arguments Value Examples
This function takes a list of test genes and a common background set to calculate enrichment and depletion for a list of pathways. The method allows for fast and efficient testing of multiple gene sets of interest.
1 | runFedup(genes, pathways)
|
genes |
(list) named list of vectors with background genes and |
pathways |
(list) named list of vectors with pathway annotations. |
List of length n
with table(s) of pathway enrichment and
depletion results. Rows represent tested pathways. Columns represent:
pathway – name of the pathway, corresponds to
names(pathways
);
size – size of the pathway;
real_frac – fraction of test gene members in pathway;
expected_frac – fraction of background gene members in pathway;
fold_enrichment – fold enrichment measure,
evaluates as real_frac
/ expected_frac
;
status – indicator that pathway is enriched or depleted for test gene members;
real_gene – vector of test gene members annotated
to pathways
;
pvalue – enrichment p-value calculated via Fisher's exact test;
qvalue – BH-adjusted p-value
1 2 3 4 5 6 7 8 9 10 11 | # Load pathway annotations
data(pathwaysGMT)
# Run fedup with a single test set
data(geneSingle)
fedupRes <- runFedup(geneSingle, pathwaysGMT)
# Run fedup with two test sets
data(geneDouble)
fedupRes <- runFedup(geneDouble, pathwaysGMT)
# Run fedup with multiple test sets
data(geneMulti)
fedupRes <- runFedup(geneMulti, pathwaysGMT)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.