Pathway Over-Representation Analysis (ORA)
Summary
ORA identifies metabolic pathways that are significantly enriched among a set of significant metabolites (e.g., those meeting stringent ANOVA q-value thresholds) when tested against the complete set of detected metabolites in an untargeted LC-MS/MS study. This provides biological interpretation of which canonical metabolic processes are disrupted or altered in the experimental condition.
When to use
Apply ORA after conducting statistical tests (e.g., ANOVA) on normalized metabolite abundance data when you have identified a subset of significant features (metabolites with low adjusted p-values or q-values, typically q < 1e-9 for stringent filtering) and wish to determine which known metabolic pathways are over-represented in that subset relative to the universe of all detected metabolites.
When NOT to use
- Input metabolite set is not derived from a rigorous statistical test (e.g., arbitrary cutoff on fold-change alone without p-value adjustment).
- Metabolic universe definition is incomplete or biased (e.g., only includes a subset of detected metabolites or uses a different detection method).
- Metabolite-to-pathway annotations are unavailable or severely incomplete for the organism/database combination.
Inputs
- Metabolite feature table (normalized abundance matrix, e.g., Urine_RP_NEG_norm.txt, Urine_RP_POS_norm.txt from MS-DIAL output)
- ANOVA or statistical test results with q-values or adjusted p-values per metabolite feature
- PubChemCID or metabolite identifier mapping for significant features
- List of all detected metabolites (metabolic universe definition)
Outputs
- Table of enriched pathways with pathway name, description, adjusted p-value, and pathway size
- Barplot visualization of top enriched pathways ranked by -log10(adjusted p-value)
- ORA results object (clusterProfiler enrichResult) with full statistics for downstream filtering or export
How to apply
Extract the PubChemCIDs or other metabolite identifiers corresponding to metabolites meeting your statistical significance threshold (e.g., q-value < 1e-9 from ANOVA). Define the metabolic universe as all metabolites detected across the full dataset, irrespective of polarity or ionization mode. Execute ORA using clusterProfiler by querying the significant metabolite set against standard metabolic pathway databases (KEGG, Reactome, or similar). Filter enriched pathways by adjusted p-value threshold and pathway size (e.g., requiring minimum pathway membership) to retain robust, biologically meaningful enrichments. Rank results by -log10(adjusted p-value) and visualize the top enriched pathways as a barplot with accompanying results table.
Related tools
- clusterProfiler (Executes over-representation analysis (ORA) on significant PubChemCIDs queried against metabolic pathway databases; implements both ORA and MSEA enrichment testing.) — https://bioconductor.org/packages/clusterProfiler
- margheRita (R package that wraps clusterProfiler for pathway analysis over various metabolic databases; provides complete workflow from MS-DIAL output to ORA/MSEA results including data normalization and statistical testing.) — https://github.com/emosca-cnr/margheRita
- ComplexHeatmap (Provides heatmap visualization of results and data exploration; used alongside barplot visualization of enriched pathways.) — https://bioconductor.org/packages/ComplexHeatmap
- KEGG / Reactome (Standard metabolic pathway databases queried during ORA to define pathway membership and calculate enrichment statistics.)
Examples
# After computing ANOVA on normalized metabolite abundances and extracting significant PubChemCIDs (q < 1e-9):
# In R using margheRita:
enriched_pathways <- mR_enrichment(sig_pubchemcids, background_universe, database="KEGG", pvalue_cutoff=0.05)
Evaluation signals
- Enriched pathways have adjusted p-value below threshold (typically padj < 0.05) and contain >2 metabolites from the significant set.
- Identified pathways are biologically plausible given the experimental context (e.g., urine metabolomics should recover renal/urinary metabolic processes).
- Barplot ranks pathways by -log10(adjusted p-value) in descending order with clear separation between highly enriched and marginal pathways.
- Results table includes pathway name, description, adjusted p-value, pathway size, and count of significant metabolites per pathway.
- PubChemCID mapping is bidirectional and complete: all significant metabolites in the input set map to at least one pathway database record, and no orphan or unmapped identifiers remain in results.
Limitations
- ORA assumes that all metabolites in the universe have equal probability of being detected and reported; systematic bias in MS-DIAL peak picking or metabolite annotation can inflate or deflate enrichment scores.
- Pathway annotations depend on metabolic database currency and coverage; novel or poorly annotated metabolites will not contribute to any pathway and may reduce statistical power.
- ORA does not account for quantitative abundance differences (fold-change magnitudes) among significant metabolites; all members of the significant set are treated equally. Consider Metabolite Set Enrichment Analysis (MSEA) if ranked quantitative data are available.
- Cross-pathway dependencies and pathway overlap are not modeled; if two pathways share many metabolites, their enrichment statistics may be correlated and lead to redundant interpretations.
- Statistical significance of enrichment does not imply biological relevance; pathway size, metabolite measurement precision, and experimental design confound interpretation.
Evidence
- [other] Extract PubChemCIDs corresponding to metabolite features meeting the most stringent ANOVA significance threshold from the Urine dataset (both RP_NEG and RP_POS polarities). Define the metabolic universe as all metabolites detected across the full Urine dataset. Execute over-representation analysis (ORA) using clusterProfiler with the significant PubChemCIDs queried against standard metabolic pathway databases (e.g., KEGG, Reactome).: "Extract PubChemCIDs corresponding to metabolite features meeting the most stringent ANOVA significance threshold from the Urine dataset (both RP_NEG and RP_POS polarities). Define the metabolic"
- [other] Filter enriched pathways by adjusted p-value and pathway size thresholds to identify robust enrichments. Generate a barplot visualization of top enriched pathways ranked by -log10(adjusted p-value) and export the results table.: "Filter enriched pathways by adjusted p-value and pathway size thresholds to identify robust enrichments. Generate a barplot visualization of top enriched pathways ranked by -log10(adjusted p-value)"
- [intro] margheRita implements both Over Representation Analysis (ORA) and Metabolite Set Enrichment Analysis (MSEA), based on clusterProfiler: "margheRita implements both Over Representation Analysis (ORA) and Metabolite Set Enrichment Analysis (MSEA), based on clusterProfiler"
- [other] Over Representation Analysis (ORA) of the most significant ANOVA features (q-value < 1e-9) from the Urine dataset identified enriched pathways represented in a table with pathway descriptions and visualization as a barplot.: "Over Representation Analysis (ORA) of the most significant ANOVA features (q-value < 1e-9) from the Urine dataset identified enriched pathways represented in a table with pathway descriptions and"
- [intro] pathway analysis based on ORA and MSEA over various databases: "pathway analysis based on ORA and MSEA over various databases"
1---2name: pathway-over-representation-analysis-ora3description: Use when apply ORA after conducting statistical tests (e.4license: CC-BY-4.05---67# Pathway Over-Representation Analysis (ORA)89## Summary1011ORA identifies metabolic pathways that are significantly enriched among a set of significant metabolites (e.g., those meeting stringent ANOVA q-value thresholds) when tested against the complete set of detected metabolites in an untargeted LC-MS/MS study. This provides biological interpretation of which canonical metabolic processes are disrupted or altered in the experimental condition.1213## When to use1415Apply ORA after conducting statistical tests (e.g., ANOVA) on normalized metabolite abundance data when you have identified a subset of significant features (metabolites with low adjusted p-values or q-values, typically q < 1e-9 for stringent filtering) and wish to determine which known metabolic pathways are over-represented in that subset relative to the universe of all detected metabolites.1617## When NOT to use1819- Input metabolite set is not derived from a rigorous statistical test (e.g., arbitrary cutoff on fold-change alone without p-value adjustment).20- Metabolic universe definition is incomplete or biased (e.g., only includes a subset of detected metabolites or uses a different detection method).21- Metabolite-to-pathway annotations are unavailable or severely incomplete for the organism/database combination.2223## Inputs2425- Metabolite feature table (normalized abundance matrix, e.g., Urine_RP_NEG_norm.txt, Urine_RP_POS_norm.txt from MS-DIAL output)26- ANOVA or statistical test results with q-values or adjusted p-values per metabolite feature27- PubChemCID or metabolite identifier mapping for significant features28- List of all detected metabolites (metabolic universe definition)2930## Outputs3132- Table of enriched pathways with pathway name, description, adjusted p-value, and pathway size33- Barplot visualization of top enriched pathways ranked by -log10(adjusted p-value)34- ORA results object (clusterProfiler enrichResult) with full statistics for downstream filtering or export3536## How to apply3738Extract the PubChemCIDs or other metabolite identifiers corresponding to metabolites meeting your statistical significance threshold (e.g., q-value < 1e-9 from ANOVA). Define the metabolic universe as all metabolites detected across the full dataset, irrespective of polarity or ionization mode. Execute ORA using clusterProfiler by querying the significant metabolite set against standard metabolic pathway databases (KEGG, Reactome, or similar). Filter enriched pathways by adjusted p-value threshold and pathway size (e.g., requiring minimum pathway membership) to retain robust, biologically meaningful enrichments. Rank results by -log10(adjusted p-value) and visualize the top enriched pathways as a barplot with accompanying results table.3940## Related tools4142- **clusterProfiler** (Executes over-representation analysis (ORA) on significant PubChemCIDs queried against metabolic pathway databases; implements both ORA and MSEA enrichment testing.) — https://bioconductor.org/packages/clusterProfiler43- **margheRita** (R package that wraps clusterProfiler for pathway analysis over various metabolic databases; provides complete workflow from MS-DIAL output to ORA/MSEA results including data normalization and statistical testing.) — https://github.com/emosca-cnr/margheRita44- **ComplexHeatmap** (Provides heatmap visualization of results and data exploration; used alongside barplot visualization of enriched pathways.) — https://bioconductor.org/packages/ComplexHeatmap45- **KEGG / Reactome** (Standard metabolic pathway databases queried during ORA to define pathway membership and calculate enrichment statistics.)4647## Examples4849```50# After computing ANOVA on normalized metabolite abundances and extracting significant PubChemCIDs (q < 1e-9):51# In R using margheRita:52enriched_pathways <- mR_enrichment(sig_pubchemcids, background_universe, database="KEGG", pvalue_cutoff=0.05)53```5455## Evaluation signals5657- Enriched pathways have adjusted p-value below threshold (typically padj < 0.05) and contain >2 metabolites from the significant set.58- Identified pathways are biologically plausible given the experimental context (e.g., urine metabolomics should recover renal/urinary metabolic processes).59- Barplot ranks pathways by -log10(adjusted p-value) in descending order with clear separation between highly enriched and marginal pathways.60- Results table includes pathway name, description, adjusted p-value, pathway size, and count of significant metabolites per pathway.61- PubChemCID mapping is bidirectional and complete: all significant metabolites in the input set map to at least one pathway database record, and no orphan or unmapped identifiers remain in results.6263## Limitations6465- ORA assumes that all metabolites in the universe have equal probability of being detected and reported; systematic bias in MS-DIAL peak picking or metabolite annotation can inflate or deflate enrichment scores.66- Pathway annotations depend on metabolic database currency and coverage; novel or poorly annotated metabolites will not contribute to any pathway and may reduce statistical power.67- ORA does not account for quantitative abundance differences (fold-change magnitudes) among significant metabolites; all members of the significant set are treated equally. Consider Metabolite Set Enrichment Analysis (MSEA) if ranked quantitative data are available.68- Cross-pathway dependencies and pathway overlap are not modeled; if two pathways share many metabolites, their enrichment statistics may be correlated and lead to redundant interpretations.69- Statistical significance of enrichment does not imply biological relevance; pathway size, metabolite measurement precision, and experimental design confound interpretation.7071## Evidence7273- [other] Extract PubChemCIDs corresponding to metabolite features meeting the most stringent ANOVA significance threshold from the Urine dataset (both RP_NEG and RP_POS polarities). Define the metabolic universe as all metabolites detected across the full Urine dataset. Execute over-representation analysis (ORA) using clusterProfiler with the significant PubChemCIDs queried against standard metabolic pathway databases (e.g., KEGG, Reactome).: "Extract PubChemCIDs corresponding to metabolite features meeting the most stringent ANOVA significance threshold from the Urine dataset (both RP_NEG and RP_POS polarities). Define the metabolic"74- [other] Filter enriched pathways by adjusted p-value and pathway size thresholds to identify robust enrichments. Generate a barplot visualization of top enriched pathways ranked by -log10(adjusted p-value) and export the results table.: "Filter enriched pathways by adjusted p-value and pathway size thresholds to identify robust enrichments. Generate a barplot visualization of top enriched pathways ranked by -log10(adjusted p-value)"75- [intro] margheRita implements both Over Representation Analysis (ORA) and Metabolite Set Enrichment Analysis (MSEA), based on clusterProfiler: "margheRita implements both Over Representation Analysis (ORA) and Metabolite Set Enrichment Analysis (MSEA), based on clusterProfiler"76- [other] Over Representation Analysis (ORA) of the most significant ANOVA features (q-value < 1e-9) from the Urine dataset identified enriched pathways represented in a table with pathway descriptions and visualization as a barplot.: "Over Representation Analysis (ORA) of the most significant ANOVA features (q-value < 1e-9) from the Urine dataset identified enriched pathways represented in a table with pathway descriptions and"77- [intro] pathway analysis based on ORA and MSEA over various databases: "pathway analysis based on ORA and MSEA over various databases"