Description Usage Arguments Value Examples
Method to generate a barplot with the number of enriched feature sets per factor
1 | plotEnrichmentBars(fsea.results, alpha = 0.05)
|
fsea.results |
output of runEnrichmentAnalysis function |
alpha |
FDR threshold for calling enriched feature sets. Default is 0.05 |
a ggplot2 object
1 2 3 4 5 6 7 8 9 10 | # Example on the CLL data
filepath <- system.file("extdata", "CLL_model.hdf5", package = "MOFAdata")
MOFAobject <- loadModel(filepath)
# perform Enrichment Analysis on mRNA data using pre-build Reactome gene sets
data("reactomeGS", package = "MOFAdata")
fsea.results <- runEnrichmentAnalysis(MOFAobject, view="mRNA", feature.sets=reactomeGS)
# Plot overview of number of enriched pathways per factor at an FDR of 1%
plotEnrichmentBars(fsea.results, alpha=0.01)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.