KEGG Pathway Map — DEGs on KEGG pathway diagrams¶
In the app: Enrichment & pathways › KEGG Pathway Map
Available when the project has DESeq2 results. The pathways come from the pipeline's KEGG enrichment file; without it the page says KEGG enrichment data not available.
Where KEGG ranks enriched pathways, the KEGG Pathway Map draws one of them — an enriched KEGG pathway with your significant genes coloured by fold change — so you can see where in the pathway the changes sit and which interactions connect them.

Example output from a demonstration project with synthetic data (organism Homo sapiens, Cell cycle pathway). Its synthetic gene IDs do not match KEGG gene names, so every node is drawn as not-DEG.
Getting a map¶
Nothing is drawn until you name the organism. The page opens with Enter the organism name and press Enter or click Submit.
- Type the species in Organism (species name) — for example
Homo sapiens. - Pick Direction and a pathway in Select a pathway.
- Press Enter or click Submit.
The organism name is remembered for the rest of the session. Insights recognises it by exact species name (case does not matter) from a fixed list: Homo sapiens, Mus musculus, Rattus norvegicus, Danio rerio, Drosophila melanogaster, Caenorhabditis elegans, Saccharomyces cerevisiae, Arabidopsis thaliana, Oryza sativa, Zea mays, Gallus gallus, Sus scrofa, Bos taurus, Ovis aries, Solanum lycopersicum, Vitis vinifera, Glycine max, Xenopus tropicalis, Canis lupus familiaris and Escherichia coli; human, mouse, rat and zebrafish also work.
If the species is not on that list — or KEGG has no organism code for it — the page says Organism not recognized by KEGG. Pathway map requires a KEGG-supported organism. No diagram is drawn, but the pathway gene table and its counts are still shown.
Findings¶
- Organism: name (KEGG: code) — the organism code Insights resolved, for example
hsa. - "Pathway (ID) — N genes, p.adjust = …" — the selected pathway's ID, how many of its genes are in the enrichment result, and its adjusted p-value.
- "Pathway: N genes, N interactions, N reactions, N groups. Matched N to your DEGs." — what KEGG's pathway definition contains, and how many of its gene nodes were matched to your genes. A match of 0 usually means your gene IDs or names do not correspond to KEGG's gene labels.
- Three counts — Up-regulated, Down-regulated and Other / Not in DESeq2 — for the pathway's genes in the table below.
Other messages: No KEGG pathways pass p.adjust < cutoff. Try raising the cutoff., No KEGG pathways for the selected direction., and KGML data not available for ID. when KEGG returns no definition for that pathway in that organism.
Filters¶
Organism (species name)¶
Free text; see the list above. Placeholder: e.g., Oryza sativa.
Direction¶
all (pathways enriched in up or down genes), plus up and down as present in the enrichment file. It narrows the pathway list.
Select a pathway¶
The enriched pathways for this contrast and direction that pass the adjusted p-value threshold, in alphabetical order.
Submit¶
Applies the organism, direction and pathway together.
Pathway — DEG Expression Map¶
An interactive diagram laid out on KEGG's own coordinates. Its toolbar:
- Search gene name... — highlights nodes whose name, gene ID or description contains the text, with their neighbours.
- KEGG Layout — the layout menu: KEGG Layout (the original positions), Force-directed, Grid, Circle.
- Fit — fits the whole diagram in view.
- Reset — clears highlights and search, and returns to the KEGG layout.
- Legend — shows or hides the legend.
Scroll to zoom and drag to pan. Click a node to highlight it and its connections and open an info panel: for a matched gene, Gene ID, Description, log2FC, padj, Direction, and any paralogs; otherwise Not in DEG list, Compound, Linked pathway or Protein complex/group. Click the background to clear.
Nodes¶
| Legend entry | Appearance | Meaning |
|---|---|---|
| Up-regulated | red | matched gene with positive log2 fold change — deeper red for larger change |
| Down-regulated | blue | matched gene with negative log2 fold change — deeper blue for larger change |
| No change | white | matched gene with a fold change near zero |
| Not DEG | light green | pathway gene not matched to one of the DEGs the enrichment file lists for this pathway |
| Compound | small light-blue circle | metabolite |
| Linked pathway | light purple box | another KEGG pathway |
| Group/complex | dashed yellow outline | genes that act as a complex |
The colour scale runs blue–white–red, scaled to the largest absolute log2 fold change among the matched genes. When one diagram position lists several genes (paralogs), all are matched; the node shows the one with the largest absolute fold change, and the info panel lists the others.
Edge types¶
The legend lists every KEGG relation type with its colour and line style: Activation, Inhibition, Expression, Repression, Indirect Effect, State Change, Binding, Dissociation, Missing, Phosphorylation, Dephosphorylation, Glycosylation, Ubiquitination, Methylation, Via Compound, Hidden Compound and Reaction (substrate→product). Inhibition and repression end in a bar; activation, expression and reaction in an arrow; binding and compound links have no arrowhead.
Note
The pathway definition (KGML) is fetched from the KEGG REST service the first time a pathway is opened, then cached.
Raw data¶
Raw data — Pathway gene table¶
Open by default. One row per gene that the enrichment file lists for this pathway, with Download pathway genes.
| Column | Meaning |
|---|---|
Gene ID |
gene ID |
Description |
gene description, when the project has one |
log2FC |
log2 fold change in the contrast |
padj |
adjusted p-value |
Direction |
the gene's direction call in the DESeq2 results |
Genes in the pathway that are absent from the DESeq2 results are listed at the end with empty values; they count as Other / Not in DESeq2.
Report settings that apply¶
- Contrast — selects the DESeq2 results that colour the nodes and fill the gene table. The pathway list comes from the KEGG enrichment contrast whose name equals it; if none does, the enrichment file's first contrast is used.
- Adjusted p-value threshold — which pathways appear in Select a pathway.
- Plot Height (Appearance) — the diagram's height.
See Report Settings.
Reading it¶
Use Force-directed to pull apart crowded regions, then Reset to return to the canonical layout. A pathway with many white or green nodes and a few deep-coloured ones is driven by those few genes — click them before drawing conclusions about the pathway as a whole.