What is pathway enrichment analysis? What it means and the papers behind it
Ask RBAi which pathways the steroid-responsive genes share, see why the first answer was too broad to be useful, draw a dot plot of specific terms, then find the papers behind the top result. In our run the up genes pointed to muscle and extracellular matrix, the down genes to GPCR and cytokine signalling.
Lesson 3 gave you a list: 443 genes that rise more than two-fold with dexamethasone and 360 that fall. A list is not yet an answer. The question a researcher asks next is what those genes do. Genes work in teams, and biologists have spent decades writing those teams down: the genes of a pathway (a chain of molecular reactions, such as a signalling route from a receptor to the nucleus), or of a biological process, such as muscle contraction. If far more of your genes fall in one team than chance would put there, that team is enriched, and it is a clue to what the steroid is doing.
In this lesson you will run that test in RBAi, see why the first answer was true but useless, fix it, and then do what turns a result into knowledge: find the papers behind it. Carry on in the same chat as Lessons 2 to 4. Every prompt goes into the RBAi main chat, except step 4, which uses RBAi Scholar, the paper search on this website.
What you will make

What the steroid-responsive genes have in common. Each dot is one term from Gene Ontology, Reactome or WikiPathways with 15 to 500 genes. Its position is the share of our list that falls in the term (the gene ratio), its size is the number of our genes in it, and a deeper colour means stronger evidence. Up genes (orange) point to muscle, the extracellular matrix and cell adhesion; down genes (teal) to signalling through G protein-coupled receptors and between cytokines and their receptors. g:Profiler over-representation analysis with the 22,369 tested genes as background, drawn by RBAi.

The first attempt, before the size filter: true, and of no use. "Cellular process" contains 351 of the 443 up genes. The fix is in step 2.
1. Ask what the genes have in common Main chat
Which biological pathways do the dexamethasone-responsive genes share? Take the genes with FDR below 0.05 and a shrunken log2 fold change above 1 (up) or below -1 (down), and run an over-representation analysis on each list with g:Profiler against GO biological processes, Reactome and WikiPathways, using all 22,369 genes we tested as the background. Show the top 10 terms of each list in one figure with two panels, up genes above and down genes below: the terms on the y-axis, the gene ratio (genes of the list in the term divided by genes in the list) on the x-axis, dot size for the number of genes, and colour for minus log10 of the adjusted p-value, in shades of orange for the up list and teal for the down list. White background, about 16 cm wide, drawn in the chat's Python. Then tell me the top five terms of each list with their adjusted p-values and gene counts.
Three databases do the naming. Gene Ontology (GO) is a shared vocabulary of what genes do; its biological processes run from the very broad ("biological regulation") to the very precise. Reactome and WikiPathways are curated maps of molecular pathways. An over-representation analysis (ORA) asks, for each term, whether your list holds more of its genes than a random list of the same size would. g:Profiler is a free web service that runs this test and corrects the p-values for testing thousands of terms. The background is the set of genes your list could have come from: here, every gene we tested.
What you should see: RBAi loads its pathway-enrichment instructions, then sends 443 up and 360 down genes to g:Profiler with the 22,369 tested genes as background (g:Profiler finds 21,120 of them in its databases). The answers are very significant and very vague. Up: response to stimulus (228 genes, adjusted p = 6.9 × 10⁻¹⁹), multicellular organismal process (194), cellular process (351), biological regulation (277) and signaling (176). Down: multicellular organismal process (188 genes, 9.8 × 10⁻²⁸), cell communication (174), signaling (172), response to stimulus (206) and regulation of multicellular organismal process (109). RBAi itself warns that the terms are broad and overlap. That is the second figure above. It took about two and a half minutes in our run.
2. Make the terms specific Main chat
These terms are true but too broad to tell us anything: thousands of genes belong to "response to stimulus". Repeat the analysis keeping only terms that contain 15 to 500 genes, and redraw the same two-panel dot plot with the top 10 specific terms of each list, with the term names written in full. Then tell me the top five terms of each list with their adjusted p-values, the number of our genes in each and the term's size, and list our genes in the top term of the up list.
What you should see: the first figure of this lesson, and these tables.
| Up with dexamethasone | Source | Adjusted p | Our genes | Term size |
|---|---|---|---|---|
| Muscle system process | GO | 5.2 × 10⁻⁵ | 25 | 334 |
| Extracellular matrix organization | GO | 7.6 × 10⁻⁵ | 22 | 269 |
| Extracellular structure organization | GO | 8.1 × 10⁻⁵ | 22 | 270 |
| External encapsulating structure organization | GO | 8.6 × 10⁻⁵ | 22 | 271 |
| Cell-substrate adhesion | GO | 1.7 × 10⁻⁴ | 23 | 305 |
| Down with dexamethasone | Source | Adjusted p | Our genes | Term size |
|---|---|---|---|---|
| Signaling by GPCR | Reactome | 9.1 × 10⁻¹⁰ | 31 | 407 |
| Cytokine–cytokine receptor interaction | WikiPathways | 1.7 × 10⁻⁸ | 18 | 152 |
| Circulatory system process | GO | 2.6 × 10⁻⁸ | 32 | 464 |
| Blood circulation | GO | 2.4 × 10⁻⁷ | 28 | 392 |
| GPCR downstream signalling | Reactome | 2.5 × 10⁻⁷ | 26 | 365 |
The 25 up genes in muscle system process include KLF15 (up 4.43 in log2, about 22-fold, from Lesson 3), ACTA2, CACNB2, FOXO1, FOXO3, LMOD1 and OXTR. GPCRs (G protein-coupled receptors) are the cell-surface receptors that pass hormone and neurotransmitter signals into the cell, and cytokines are the signalling proteins of inflammation. Sixth in the up panel is WikiPathways' nuclear receptors meta-pathway, built around the family of receptors that dexamethasone's own receptor belongs to. It took about two and a half minutes.
3. Find the papers behind the top term Main chat
An enrichment is a lead, not a finding. Before you believe it, find out what is already known:
Now find the papers behind the top up-regulated term, muscle system process. Is there published evidence that glucocorticoids such as dexamethasone switch on KLF15 or other genes of this term in airway smooth muscle cells? Search RBAi's paper corpus and PubMed, and give me the five most relevant papers with their authors, year, journal and DOI, and one sentence each on what the paper shows. Keep what the papers say apart from what our own data show.
RBAi's paper corpus is its own index of more than 11 million papers, searched by meaning, the same index behind RBAi Scholar. PubMed is the US National Library of Medicine's database of biomedical papers. A DOI is a paper's permanent web address.
What you should see: in our run RBAi ran six searches, looked up eight papers and answered yes, there is direct published evidence that glucocorticoids induce KLF15 in airway smooth muscle. Its five papers:
- Masuno and colleagues (2011), Am. J. Respir. Cell Mol. Biol.: expression profiling found KLF15 as a glucocorticoid target in human airway smooth muscle, linked to airway responses in mice.
- Sasse and colleagues (2017), same journal: glucocorticoids directly induce KLF15 in primary human airway smooth muscle, and KLF15 holds back hypertrophy, the muscle cells growing larger.
- Himes and colleagues (2014), PLOS ONE: the paper for the very experiment you analysed, so, as RBAi points out, it supports your reading but is not an independent confirmation.
- Yick and colleagues (2013), Am. J. Respir. Crit. Care Med.: two weeks of oral prednisolone, another glucocorticoid, changed gene expression in airway smooth muscle taken from people with asthma.
- Goldsmith and colleagues (2007), Am. J. Physiol. Lung: in cells stimulated with the growth factor TGF-β, dexamethasone and fluticasone lowered the muscle protein α-smooth-muscle actin. The effect of steroids on muscle genes depends on the context.
It took about two minutes. Every DOI is in the sources at the end of this lesson.
4. Search it yourself RBAi Scholar
Open RBAi Scholar on this website. You can search without an account, five times an hour, or 20 times a day with a free key. Leave Meaning search selected and type a question in plain English:
Does dexamethasone switch on KLF15 in human airway smooth muscle cells?
What you should see: in our search, RBAi Scholar ranked 11,149,057 papers in 2.4 seconds. Its top five were all about how dexamethasone or other corticosteroids act on cells, three of them airway or lung cells. First came Lasa and colleagues (2002): dexamethasone keeps MKP-1, the protein made from DUSP1, our third-ranked gene in Lesson 3, switched on, and so switches off p38, an enzyme that drives inflammation. Fourth was Issa and colleagues (2007), showing the same MKP-1 route in airway smooth muscle cells. None of the five titles mentions KLF15. A meaning search finds the topic of your question.
Now choose Keyword search and type KLF15 dexamethasone airway smooth muscle. What you should see: exactly one paper, in half a second: Himes and colleagues (2014), the study whose data you have been analysing since Lesson 2. A keyword search matches the exact words, which is what you want for a gene name.
The ideas behind the picture
- Enrichment is a counting test. g:Profiler found 429 of our 443 up genes in its databases and 21,120 background genes. A random 429 genes would put about 7 (429 × 334 ÷ 21,120) into the 334-gene muscle term; we have 25, about 3.7 times more. The adjusted p-value says how surprising that is after testing thousands of terms.
- The background decides what counts as surprising. Use only genes that could have been detected, here the 22,369 we tested. Against the whole genome, every gene that airway muscle happens to express would look enriched.
- Very large terms say nothing; very small ones say too much. "Cellular process" covers 351 of 443 genes. A term with three genes can reach significance with two of yours. Limiting term size, here to 15 to 500 genes, is standard practice.
- Terms overlap. Three of the top five up terms are nearly the same set, with 269, 270 and 271 genes and 22 of ours each. Read them as one theme, not three findings.
- Keep up and down apart. Steroids switch some programs on and others off. One mixed list would blur the two.
- Enriched is not the same as switched on. A term is enriched when many of its genes change. It does not mean the pathway as a whole runs faster or slower.
What the result shows, and what it doesn't
- What it shows: the genes dexamethasone raises are over-represented in muscle, extracellular-matrix and adhesion terms; the genes it lowers in GPCR and cytokine signalling. Independent papers confirm that glucocorticoids induce one of the muscle-term genes, KLF15, in airway smooth muscle.
- What it doesn't show: that the muscle contracts more or less. ACTA2, the gene for α-smooth-muscle actin, is up in our data (1.12 in log2), yet Goldsmith and colleagues saw the protein fall in TGF-β-stimulated cells. RNA is not protein, and cells in a dish are not an airway in an asthma attack.
- What a search shows: what has been published, not what is true. RBAi found the papers; reading them, and judging how strong each one is, is still your job. One of the five, Himes and colleagues, is the source of our own data, so the confirmation that counts comes from other groups and designs, such as Masuno's and Sasse's.
Your turn
The second down term is cytokine–cytokine receptor interaction: 18 of our genes in a 152-gene WikiPathways map of inflammatory signals. Before you ask, predict: is CXCL12, one of the nine falling genes in the Lesson 4 heatmap, among the 18? Then, in the same chat:
List our genes in the cytokine–cytokine receptor interaction term with their fold changes. Then find two papers on how glucocorticoids lower one of them in airway or lung cells, with DOIs.
Then search RBAi Scholar for that gene and dexamethasone, once with Meaning search and once with Keyword search. Write three sentences: whether your prediction held, what the papers add to your data, and which search mode found the more useful papers for this question.
Try it
Open RBAi, continue your airway chat with the first prompt, and keep the dot plot. You now have the whole workflow of a transcriptomics paper: the samples (Lesson 2), the changed genes (Lesson 3), their patterns (Lesson 4) and what they mean (this lesson). Lesson 6 takes you down to single cells.
Carry on in the same chat as Lessons 2 to 4, then paste the lesson’s first prompt:
Which biological pathways do the dexamethasone-responsive genes share? Take the genes with FDR below 0.05 and a shrunken log2 fold change above 1 (up) or below -1 (down), and run an over-representation analysis on each list with g:Profiler against GO biological processes, Reactome and WikiPathways, using all 22,369 genes we tested as the background. Show the top 10 terms of each list in one figure with two panels, up genes above and down genes below: the terms on the y-axis, the gene ratio (genes of the list in the term divided by genes in the list) on the x-axis, dot size for the number of genes, and colour for minus log10 of the adjusted p-value, in shades of orange for the up list and teal for the down list. White background, about 16 cm wide, drawn in the chat's Python. Then tell me the top five terms of each list with their adjusted p-values and gene counts.