The enrichplot package implements several methods for enrichment result visualization to help interpretation. It supports both hypergeometric test and gene set enrichment analysis. Both of them are widely used to characterize pathway/function relationships to elucidate molecular mechanisms from high-throughput genomic data.
The enrichplot package supports visualizing enrichment results obtained from DOSE (Yu et al. 2015), clusterProfiler (Yu et al. 2012), ReactomePA (Yu and He 2016) and meshes.
Induced GO DAG graph
Gene Ontology (GO) is organized as a directed acyclic graph. An insighful way of looking at the results of the analysis is to investigate how the significant GO terms are distributed over the GO graph. The goplot
function shows subgraph induced by most significant GO terms.
Bar plot
Bar plot is the most widely used method to visualize enriched terms. It depicts the enrichment scores (e.g. p values) and gene count or ratio as bar height and color.
Dot plot
Dot plot is similar to bar plot with the capability to encode another score as dot size. Both barplot
and dotplot
supports facetting to visualize sub-ontologies simultaneously.
Gene-Concept Network
Both the barplot
and dotplot
only displayed most significant enriched terms, while users may want to know which genes are involved in these significant terms. The cnetplot
depicts the linkages of genes and biological concepts (e.g. GO terms or KEGG pathways) as a network.
UpSet Plot
The upsetplot
is an alternative to cnetplot
for visualizing the complex association between genes and gene sets. It emphasizes the gene overlapping among different gene sets.
Heatmap-like functional classification
The heatplot
is similar to cnetplot
, while displaying the relationships as a heatmap. The gene-concept network may become too complicated if user want to show a large number significant terms. The heatplot
can simplify the result and more easy to identify expression patterns.
Enrichment Map
Enrichment map organizes enriched terms into a network with edges connecting overlapping gene sets. In this way, mutually overlapping gene sets are tend to cluster together, making it easy to identify functional module.
ridgeline plot for expression distribution of GSEA result
The ridgeplot
will visualize expression distributions of core enriched genes for GSEA enriched categories. It helps users to interpret up/down-regulated pathways.
running score and preranked list of GSEA result
Running score and preranked list are traditional methods for visualizing GSEA result. The enrichplot package supports both of them to visualize the distribution of the gene set and the enrichment score.
References
Yu, Guangchuang, and Qing-Yu He. 2016. “ReactomePA: An R/Bioconductor Package for Reactome Pathway Analysis and Visualization.” Molecular BioSystems 12 (2):477–79. https://doi.org/10.1039/C5MB00663E.
Yu, Guangchuang, Li-Gen Wang, Yanyan Han, and Qing-Yu He. 2012. “clusterProfiler: an R Package for Comparing Biological Themes Among Gene Clusters.” OMICS: A Journal of Integrative Biology 16 (5):284–87. https://doi.org/10.1089/omi.2011.0118.
Yu, Guangchuang, Li-Gen Wang, Guang-Rong Yan, and Qing-Yu He. 2015. “DOSE: An R/Bioconductor Package for Disease Ontology Semantic and Enrichment Analysis.” Bioinformatics 31 (4):608–9. https://doi.org/10.1093/bioinformatics/btu684.