KEGG — KEGG pathway over-representation¶
In the app: Enrichment & pathways › KEGG
Available when the project has DESeq2 results. The pathways come from the pipeline's KEGG enrichment file (combined_KEGG_enrichment.tsv); without it the page says KEGG data not available.
The KEGG report shows which KEGG pathways — metabolic and signalling maps rather than the gene-function vocabulary of GO — are over-represented among the differentially expressed genes of one contrast, and lists the member genes behind each pathway.

Example output from the sample project.
Findings¶
The same set of notes as the GO report:
- "N terms shown for contrast (direction; p.adjust < cutoff, top N)." and "Strongest term: …" — how many pathways pass the current settings, and the most significant one.
- Gene-overlap notes when they apply: The same few genes are behind most of these terms, groups of pathways that share most of their genes, pathways with members moving both ways, and a warning when many member IDs cannot be matched to the contrast's genes.
- "No DESeq2 results match the contrast name, so member genes are listed without their fold changes." — the enrichment file names its contrasts differently from the DESeq2 result files, so a pathway's genes cannot be joined to fold changes. The chart is unaffected; in the tables every member is not found, Members up / Members down are 0, and the gene-overlap notes are not computed.
If nothing passes, the page says No KEGG pathways pass p.adjust < cutoff. Try raising the cutoff.
Filters¶
Direction¶
up (pathways enriched among genes higher in the target group), down (lower in the target group), and all when the file contains it. all draws the top up and top down pathways together, coloured by direction.
Rank terms by¶
Significance (default) or Fold enrichment — which pathways make the Top N. Significance favours large terms, which have the power to reach a small p-value. Fold enrichment favours specific ones.
KEGG enrichment dot plot¶
Titled KEGG Enrichment — contrast | …. Each dot is a pathway (y-axis KEGG Pathway). The x-axis is Fold enrichment (or Count when the file cannot supply it); dot size is the number of DEGs in the pathway; colour is -log10(p.adjust) for a single direction, or higher in target / lower in target under all. Hover for GeneRatio and p.adjust.
Raw data¶
Raw data — KEGG Enrichment table¶
The pathways on the chart, sorted by p.adjust, with Download CSV.
| Column | Meaning |
|---|---|
direction |
up or down (only in the all view) |
Pathway |
KEGG pathway ID, when the file has one |
Description |
pathway name |
GeneRatio |
DEGs in the pathway / DEGs tested |
Count |
number of DEGs in the pathway |
pvalue, p.adjust |
raw and adjusted significance |
Members up, Members down |
member genes significantly up / down in the matching DESeq2 contrast, at the current thresholds |
Raw data — Genes behind a term¶
Pick a Term (pathway); a caption counts its genes by call. Columns Gene, Symbol, gene_id, log2FoldChange, padj, baseMean and Call (up, down, not significant, not tested, not found), with Download member genes. See GO for the column meanings.
Report settings that apply¶
- Contrast — matched by name to the enrichment file's contrasts; when nothing matches, the file's first contrast is shown. The chart title names the contrast actually displayed.
- Adjusted p-value threshold — the p.adjust cutoff for pathways and for member-gene calls.
- log2 Fold Change threshold — member-gene calls only.
- Top N — pathways per direction.
See Report Settings.
Reading it¶
Pathways overlap heavily — many metabolic maps share enzymes — so check the gene-overlap notes and Genes behind a term before treating several pathways as separate results. To see where the DEGs sit on one pathway's diagram, use KEGG Pathway Map.