Over-representation analysis
A set-overlap test asking whether a selected list contains more members of an annotated set than expected under a specified background and null model.
Definition
Over-representation analysis (ORA) tests whether an annotated set contributes unusually many members to a selected list, relative to an explicit background and null model. In a simple pathway analysis, the units are distinct compounds, not every ion feature generated by them. Mapping, selection, and background choices are part of the analysis. [1]
A simple example
Constructed sets: among N = 20 eligible compounds, K = 5 belong to pathway P. The selected list has n = 4 compounds, including k = 3 members of P. Under an equally likely, fixed-size subset null, expected overlap is nK/N = 1. The selected fraction 3/4 divided by the background fraction 5/20 gives enrichment ratio 3.
The one-sided probability of at least three members is [C(5,3)C(15,1) + C(5,4)C(15,0)]/C(20,4) = 155/4845 ≈ 0.03199, where C counts combinations. This is the hypergeometric upper tail. [2]
Common confusion
The enrichment ratio is not an abundance fold change. The raw p-value is not a probability that the pathway is false and does not adjust for testing many pathways. Overlap can arise from ambiguous identifiers or repeated ion forms if the input is mishandled. ORA does not establish pathway activity or flux, and binary selection discards effect magnitudes.
Check your understanding
What must accompany “three pathway hits”?
The selected-list size, eligible background size, pathway membership within that background, counting unit, and selection/mapping rules.
Use it in a Guide
References & further reading
- Wieder et al. (2021). Pathway analysis in metabolomics: Recommendations for the use of over-representation analysis. PLOS Computational Biology 17(9), e1009105.
Primary analysis using five metabolomics datasets to evaluate background, selection, pathway database, identification, and assay-bias effects. Supports sensitivity and reporting cautions, not a universal correction for all pathway methods.
- R stats package. Hypergeometric: The Hypergeometric Distribution.
Official sampling-without-replacement probability and upper-tail definitions. Constructed examples independently enumerate combinations; article symbols N, K, n, and k are defined locally rather than copied from software argument names.