CHAPTER 4

Interpreting Omics Data with Pathway Enrichment Analysis

A biologist's primer on choosing methods, backgrounds, and annotation databases for reliable pathway enrichment

Trends in Genetics, April 2023, Vol. 39, No. 4, pp. 308-319. https://doi.org/10.1016/j.tig.2023.01.003
Abstract
Pathway enrichment analysis is indispensable for interpreting omics datasets and generating hypotheses, yet its foundations remain elusive to many biologists. This review discusses best practices for interpreting different types of omics data with pathway enrichment analysis and highlights the importance of considering the intrinsic features of each data type. It explains the major components that influence the outcome of an enrichment analysis, including defining background sets and choosing reference annotation databases, and describes how to standardize the reporting of methodological details to improve reproducibility. The article aims to serve as a primer that helps biologists leverage the wealth of omics resources and motivates bioinformatics tool developers to enhance the power of pathway enrichment analysis.

A classic approach to interpreting omics data

Advances in omics approaches have enabled genome-scale profiling of transcripts, proteins, metabolites, and epigenetic modifications, facilitating holistic views of how organisms function and evolve. The output of these approaches is typically a long list of genes or their downstream products, and interpreting these lists remains challenging for many biologists.

Pathway enrichment analysis identifies pathways that are represented in a dataset more than expected by chance, and it has become a routine method for interpreting omics data. Originally developed to analyze transcriptomic profiles from microarrays and RNA sequencing (RNA-seq), it has since expanded to epigenomics, genome-wide association studies (GWAS), single-cell RNA-seq (scRNA-seq), and integrated omics data. It is now integral to revealing patterns underlying diverse omics data and to formulating hypotheses for downstream experiments.

Despite its popularity, the principles underlying pathway enrichment analysis remain obscure to many scientists, leading to inappropriate statistical tests and unreliable results. Implementing correct methods requires understanding the intrinsic mathematical features of different omics data, especially those from emerging technologies such as single-cell and spatial transcriptomics. Over 100 tools have been developed and assessed by benchmarking studies, but there is no practical guideline for choosing methods based on the intrinsic features of each omics data type.

Beyond statistical methods, the choice of input set, background gene sets, and reference annotation databases dramatically influences results. Failing to use appropriate backgrounds and up-to-date annotations is a prominent problem: a survey of nearly 200 peer-reviewed articles reporting pathway enrichment analysis found that over 90% failed to implement correct background gene sets. This review provides a holistic, biologist-focused view of performing enrichment analysis and reporting results reproducibly.

๐ŸŽฏ Key points
  • Omics profiling produces long gene/product lists that are hard to interpret directly.
  • Pathway enrichment analysis finds pathways over-represented in a dataset more than expected by chance.
  • It began with transcriptomics and now covers epigenomics, GWAS, scRNA-seq, and integrated omics.
  • Over 90% of surveyed publications used incorrect background gene sets, undermining reliability.
  • Correct analysis requires matching methods, backgrounds, and annotations to each data type.

Overview of pathway enrichment analysis methodology

Enrichment tools fall into three categories based on their statistical approach: over-representation-based, functional scoring (ranking)-based, and pathway topology-based methods.

Over-representation-based methods take a gene list of interest and test whether any pathway is observed in the list more than expected by chance against a predefined background gene set. Ranking-based methods use functional information such as gene expression levels: they first rank the total gene set by a detected signal (e.g., transcript abundance) and then test whether genes annotated to the same pathway tend to cluster at the top or bottom of the ranked list.

Topology-based methods aim to capture additional information affecting pathway activity by integrating scores that measure gene positions within a pathway and gene-gene interactions into the enrichment test. Together, these three approaches form the foundation for tools that interpret transcriptomic and other omics data.

๐ŸŽฏ Key points
  • Three method families: over-representation, ranking (functional scoring), and topology-based.
  • Over-representation tests a gene list against a background using tests like Fisher's exact test.
  • Ranking methods (e.g., GSEA) rank all genes by signal and test for clustering within pathways.
  • Topology methods incorporate gene position and gene-gene interactions within pathways.

Classic input data: transcriptomics

Transcriptomic profiles from microarray or RNA-seq quantify gene abundances at a system scale and help characterize genes of unknown function. The standard workflow first identifies differentially expressed genes under stress or genetic perturbation, then uses either the differentially expressed gene list or the entire transcriptomic profile to perform enrichment analysis and identify significantly impacted biological processes.

Tools implementing all three statistical approaches exist for transcriptomics. A classic over-representation example searches a list of differentially expressed genes against a reference database such as Gene Ontology (GO, hosted at PANTHER) or KEGG, identifying pathways whose constituent genes are over-represented using Fisher's exact test. Over-representation methods are conceptually simple but assume gene independence and require an arbitrary cutoff to define differentially expressed genes.

To address these limitations, ranking-based methods are widely applied, with gene set enrichment analysis (GSEA) being the most popular. GSEA ranks genes by a phenotype value such as expression level, then computes a pathway's enrichment score by scanning the ranked list from top to bottom and quantifying the distances of the pathway's genes to the middle of the rank.

Topology-based methods increase sensitivity by considering topological features such as gene position within a pathway and connectivity in coexpression or functional networks. Topology-based pathway enrichment analysis (TPEA) scores gene location, number of interactions, and expression levels; although potentially high-performing, it requires experimental evidence for pathway structures and gene-gene interactions, which is unavailable for many organisms.

๐ŸŽฏ Key points
  • Standard workflow: identify differentially expressed genes, then run enrichment analysis.
  • Over-representation with GO/KEGG uses Fisher's exact test but assumes gene independence and needs a cutoff.
  • GSEA ranks genes by expression and tests whether pathway genes cluster at the extremes.
  • TPEA adds topology but needs experimental pathway-structure data most organisms lack.

Proteomics

Proteomics helps discover proteins in shared biological processes, characterize protein complex subunits, and identify post-translational modifications. Because proteins cannot be amplified, quantifying the proteome is harder than the transcriptome. Mass-spectrometry datasets may bias toward highly expressed proteins, and quantifying a peptide can depend on coelution of its partners, introducing variation between replicates and experiments that must be considered.

Inspired by GSEA, protein set enrichment analysis (PSEA) identifies enriched pathways using protein differential expression scores. It takes relative abundance represented by spectral counts, ranks proteins by their fractional abundance change between conditions, and computes a pathway's enrichment score as the summed distance of its constituent proteins to the middle of the ranked list. PSEA is not designed for label-based quantification data.

PSEA-Quant fills this gap by handling both label-based and label-free quantification. It computes a per-protein enrichment score integrating average abundance and variation between replicates, ranks proteins by this score (weighting high-abundance, low-variation proteins more), and represents a pathway's score as the sum of its proteins' weighted scores. Significance is judged against a null distribution built by randomly sampling proteins in the dataset.

๐ŸŽฏ Key points
  • Proteins are not amplifiable, so proteome quantification is noisier than transcriptomics.
  • Mass spectrometry can bias toward abundant proteins and depend on partner coelution.
  • PSEA adapts GSEA-style ranking using spectral-count abundance changes (label-free).
  • PSEA-Quant handles both label-free and label-based data and weights robust measurements.

Metabolomics

Metabolomics systematically quantifies small molecules, helping identify metabolic responses to disease and environment and discover biosynthetic routes of valuable compounds. Metabolite quantification relies on chemical standards or on analyzing fragmentation patterns from tandem mass spectrometry. High-throughput compound annotation is a major bottleneck, making metabolomic profiles sparser and more ambiguous than transcriptomics.

Two enrichment strategies exist. The first requires annotating compounds (via chemical standards or by searching metabolic features such as mass-to-charge ratio or fragmentation patterns against metabolite libraries) before analysis. Metabolomics Pathway Analysis (MetPA) uses compound annotations and network topology: it converts pathways into a metabolic network (metabolites as nodes, reactions as edges), scores each compound's 'importance' from its abundance change and its connectivity (relative betweenness and degree centrality), and identifies enriched pathways by comparing the frequency of 'important' metabolites versus chance using Fisher's test. It is limited to organisms with known network topology and compound annotations.

The second strategy, Mummichog, bypasses compound annotation to leverage untargeted metabolomics directly. It assumes that biologically meaningful spectral features are more likely to map to functionally related compounds than to be randomly distributed in the metabolic network. It first finds spectral features (m/z and retention time) significantly altered between samples, then identifies enriched pathways by comparing the probability of annotating those features to a pathway with the probability of randomly assigning features to compounds in the pathway. It is less accurate than conventional tools and requires downstream analytical chemistry to confirm specific metabolites.

๐ŸŽฏ Key points
  • Compound annotation is the main bottleneck; metabolomic data are sparse and ambiguous.
  • MetPA uses compound annotation plus network topology (betweenness and degree centrality).
  • Mummichog bypasses annotation and predicts pathways from significant spectral features.
  • Mummichog is faster but less accurate and needs downstream chemistry to confirm metabolites.

Single-cell RNA-seq

scRNA-seq gives high-resolution expression measurements that reveal cell-type specificity, cellular responses, and cell-cell communication. Because RNA abundance per cell is low, scRNA-seq data are sparse and noisy relative to bulk transcriptomics. A high dropout rate (many below-threshold expression values) alters the expression distribution and complicates identifying differentially expressed genes and enriched pathways.

One strategy exploits expression patterns among similar genes. The method iDEA jointly performs differential expression and pathway enrichment across all detected genes. It uses Bayesian hierarchical modeling to compute whether a gene's probability of being differentially expressed exceeds chance, then identifies enriched pathways by computing the probability that a pathway contains more differentially expressed genes than a null distribution of randomly assigned genes. Applied to human embryonic stem cell scRNA-seq, iDEA identified embryo-development pathways more accurately and comprehensively than methods designed for bulk RNA-seq, helping resolve pathway-activity heterogeneity at single-cell resolution.

๐ŸŽฏ Key points
  • scRNA-seq data are sparse and noisy with high dropout that distorts expression distributions.
  • iDEA jointly models differential expression and enrichment using Bayesian hierarchical modeling.
  • iDEA outperformed bulk-RNA-seq methods on human embryonic stem cell data.
  • Single-cell resolution reveals heterogeneity in pathway activity across cells.

Genome-wide association studies (GWAS)

GWAS relate genotypes to phenotypes by testing whether SNPs correlate with traits, producing long lists of candidate SNPs that hamper downstream validation. Pathway enrichment analysis serves as an orthogonal method by identifying biological processes annotated to trait-associated SNPs more frequently than expected by chance, helping remove random SNP-trait associations and prioritize processes for study. SNP-GSEA is one tool using SNPs directly as input.

SNPs have unique features that must be accommodated. Unlike expression data that measures individual transcript abundance, SNPs cannot always be mapped to genes because they occur in both coding and noncoding regions, and they are not evenly distributed across the genome. All GWAS enrichment methods first require mapping SNPs to genes.

Regression with summary statistics enrichment analysis (RSS-E) uses Bayesian multiple regression models to test whether SNPs mapped to the same pathway are more likely to be associated with the same trait than a baseline of randomly assigned SNPs. It uses all SNPs regardless of effect size, helping identify novel trait-associated genes. Benchmarked on 1.1 million HapMap3 SNPs across 31 human traits, it recovered known associations and revealed novel pathway-trait connections.

๐ŸŽฏ Key points
  • Enrichment analysis is orthogonal to GWAS, prioritizing biology from long SNP lists.
  • SNPs occur in coding and noncoding regions and are unevenly distributed, complicating gene mapping.
  • GWAS enrichment methods must first map SNPs to genes.
  • RSS-E uses Bayesian regression on all SNPs and was benchmarked on 31 human traits.

Epigenomics

Epigenetic modifications on histones and DNA are essential for growth and adaptation, and genome-scale maps of these modifications help reveal gene-regulatory mechanisms. The conventional workflow identifies genomic loci with significantly altered modifications, annotates them to the nearest genes, then runs enrichment analysis. However, this ignores inherent features of epigenomic data: differentially modified gene detection is biased toward long genes (which yield more reads), and about 10% of DNA methylation hotspots (CpG islands) map to multiple genes.

ebGSEA is a ranking-based method that ranks all genes by their overall change in methylation abundance, then finds pathways with more differentially methylated genes than expected by chance. It considers the extent of methylation change but does not address CpG sites mapping to multiple genes.

GOmeth addresses both gene-length bias and multigene mapping via empirical analysis with CpG sites. Each CpG's contribution to a gene is normalized by the number of genes it is annotated to (removing multigene-mapping bias); weights of all CpGs mapped to a gene are summed and normalized by gene length (removing size bias). Enriched pathways are identified using Wallenius' noncentral hypergeometric distribution, a generalization of the hypergeometric distribution that corrects for sampling bias. Benchmarked on simulated and public methylome data, GOmeth identified the most biologically relevant terms compared with other methods.

๐ŸŽฏ Key points
  • Epigenomic enrichment is biased toward long genes and by CpG islands mapping to multiple genes.
  • ebGSEA ranks genes by methylation change but ignores multi-gene CpG mapping.
  • GOmeth normalizes for multigene mapping and gene length using CpG-site empirical analysis.
  • GOmeth uses Wallenius' noncentral hypergeometric distribution to correct sampling bias.

Integrated omics

Different omics datasets describe distinct aspects of the central dogma, and integrating them can yield novel insight into the genetic basis of development and disease. For example, integrating genetic variation and transcriptomics produced a high-confidence catalog of cancer driver mutations. However, integration generates high-dimensional datasets that make interpretation and downstream analysis more challenging, so new tools are needed.

ActivePathway performs enrichment using multiomics data by aggregating p values from individual omics analyses (e.g., differential expression and gene essentiality) into a representative p value per gene via Fisher's combined probability test. Genes are ranked and filtered by user-defined cutoffs, and a ranked hypergeometric test checks whether a pathway contains more low-p-value genes than expected by chance. Applied to breast cancer by integrating transcriptome and gene copy number, it showed that immune activity in tumor cells and their microenvironment affects prognosis, and it identified the most comprehensive lists of functionally related pathways compared with individual datasets.

๐ŸŽฏ Key points
  • Integrating omics types can reveal patterns missing from individual datasets (e.g., cancer drivers).
  • Integration produces high-dimensional data that is harder to interpret.
  • ActivePathway combines per-omics p values via Fisher's combined probability test.
  • Applied to breast cancer, it linked immune activity to prognosis using multiomics data.

Input sets, background sets, and reference annotation databases

Beyond method choice, accurate input and background sets and suitable reference annotation databases are major components of a robust analysis. Both input and background sets should be defined by the biological question and reflect the actual number of genes captured by the omics approach. Reference databases organize genes into pathways, determining how pathways are defined and how many genes each contains.

Assembling a meaningful input set requires preprocessing raw signals, then identifying genes (or proteins, metabolites, genomic regions) using experimental design and rigorous statistical tests. Refining the input by removing irrelevant genes can improve performance; for example, focusing on genes correlated with or physically interacting with known disease genes may yield more accurate results.

Choosing an appropriate background is key. The most common background - the total number of genes or proteins annotated in a species - is inaccurate because only a subset is captured experimentally. When enrichment was run on seven RNA-seq profiles using whole-genome versus the correct background, only 44% of enriched pathways were shared on average. An accurate background should include only genes whose transcript or protein levels are above the noise threshold, and should be customized to the question: a study focused on metabolic or signaling genes should use total metabolic genes as background rather than all detected genes.

Reference databases use different ontologies, causing large variation in pathway number and size for the same species. For example, E. coli metabolic genes map to fewer, larger pathways in KEGG than in EcoCyc. Pathway size matters because larger pathways need more differentially expressed genes to reach significance and offer less granularity. Integrating annotations across databases (e.g., taking the union of enzymes and metabolites for the same reactions) can help, but a uniform annotation is required for comparability.

Different versions of the same database also change results dramatically. A survey found 16 of 25 web-based tools provided pathway annotations outdated by several years. Benchmarking GO versions showed low consistency: 74% of GO terms enriched using 2016 annotations were missing from the 2009 version. Using and reporting the most recent annotation versions and dates is therefore essential.

Because widely used databases annotate the same genes to multiple interconnected pathways, the same genes can inflate the apparent number of responding processes. Methods that weight genes by their number of annotated pathways mitigate this overlap, such as PADOG for transcriptomics and ebGSEA for DNA methylation.

๐ŸŽฏ Key points
  • Input and background sets must reflect what the experiment actually detects, not the whole genome.
  • Using whole-genome vs. correct background shared only 44% of enriched pathways on average.
  • Background should be customized to the biological question (e.g., metabolic genes only).
  • Different databases and versions vary pathway number/size; larger pathways need more DE genes.
  • 74% of GO terms enriched with 2016 annotations were absent using 2009 annotations.
  • Genes annotated to multiple pathways inflate results; PADOG and ebGSEA downweight overlap.

Standardizing reporting of pathway enrichment analysis

Interpreting ever-growing omics data requires best practices and standardized method documentation. Insufficient reporting hampers justification during peer review and by the community. All major components should be documented: the different gene sets used, how the gene set of interest was generated, how the background was defined, and the versions of reference annotations.

Methodological details are also required, including the statistical test, the user-defined significance cutoff, and the multiple-test correction strategy. Failing to perform or report p value adjustment is prevalent: because enrichment simultaneously tests hundreds or thousands of pathways, false positives inflate as comparisons increase. A benchmark on six RNA-seq datasets found that lacking p value adjustment yielded 25-40% more pathways called significant, sharply reducing accuracy. Reporting sufficient detail improves robustness and reproducibility.

๐ŸŽฏ Key points
  • Document all gene sets, how they were generated, the background definition, and annotation versions.
  • Report the statistical test, significance cutoff, and multiple-test correction strategy.
  • Enrichment tests many pathways at once, so p value adjustment is essential.
  • Skipping p value adjustment inflated significant pathways by 25-40% in a benchmark.

Concluding remarks and future perspectives

Big-data volume and complexity are accumulating faster than ever. Pathway enrichment analysis is essential for identifying the predominant pathways driving patterns in massive datasets. Better documentation and management of raw and processed data, guided by FAIR (Findable, Accessible, Interoperable, Reusable) principles, will improve reproducibility and support tool development.

Integrating different omics types can increase statistical power to find patterns missing in individual datasets, but produces massive high-dimensional data requiring novel, computationally capable methods. Increasing the accessibility of tools to bench scientists - through web applications and user-friendly open-source packages - is needed to close the gap between data generation and interpretation. These genome-scale resources can guide molecular genetic and biochemical studies to advance sustainable agriculture, drug discovery, and therapeutic innovation.

Outstanding questions raised by the authors include: what functional datasets and statistical methods are needed to benchmark available enrichment tools; what new methods can effectively integrate diverse omics data (e.g., transcription factor binding, epigenomics, chromatin accessibility) for a holistic gene-to-phenotype view; and what user-friendly tools can let biologists interpret omics resources without extensive bioinformatics expertise.

๐ŸŽฏ Key points
  • FAIR principles should guide organizing big omics datasets for reproducibility.
  • Integrated omics boosts statistical power but needs new, computationally capable methods.
  • Tool accessibility for bench scientists (web apps, open-source packages) is a priority.
  • Open questions: benchmarking, multiomics integration, and user-friendly interfaces.

Figures

2 figures extracted from the source PDF โ€” click any to enlarge.

Overview of three types of methods for pathway enrichment analysis. (A) Over-representation-based methods examine whether any pathways are observed in a gene list of interest more than expected by chance compared with a background set.โคข
Figure 1 Overview of three types of methods for pathway enrichment analysis. (A) Over-representation-based methods examine whether any pathways are observed in a gene list of interest more than expected by chance compared with a background set.
General workflow for interpreting various types of omics data with pathway enrichment analysis and documenting results. (A) Various types of omics data that can be interpreted using pathway enrichment analysis. (B) Choose annotation databases that provide genome-scale mapping for enzymes and pathways for different organisms.โคข
Figure 2 General workflow for interpreting various types of omics data with pathway enrichment analysis and documenting results. (A) Various types of omics data that can be interpreted using pathway enrichment analysis. (B) Choose annotation databases that provide genome-scale mapping for enzymes and pathways for different organisms.

Test yourself

7 questions on this chapter.

Q1What is the primary purpose of pathway enrichment analysis?
Q2Which are the three categories of pathway enrichment methods described in the review?
Q3Why is using all genes annotated in a genome as the background set generally inappropriate?
Q4Which method bypasses upfront compound annotation to predict enriched pathways directly from untargeted metabolomics spectral features?
Q5What problem does GOmeth specifically address in epigenomic (DNA methylation) enrichment analysis?
Q6Why is multiple-test correction critical in pathway enrichment analysis?
Q7How does ActivePathway integrate multiomics data for enrichment analysis?
You can submit early โ€” unanswered questions count as incorrect.