Skip to contents

A mapping between KEGG Orthology (KO) identifiers and KEGG pathways, built from KEGG BRITE Release 117.0 (2026-01-01). It has 63,810 KO-pathway rows, 567 pathway identifiers and 28,040 unique KO IDs. Analyses use only the 488 true pathway maps (37,639 memberships, 14,538 KOs); BRITE and "not in pathway" buckets (level 1 09180 and 09190) are always removed. The default prokaryote filter keeps 193 of these maps (14,107 memberships, 10,059 KOs): maps that KEGG draws for at least one sampled prokaryotic genome, excluding Organismal Systems and Human Diseases maps other than bacterial infection and antimicrobial resistance.

Usage

ko_to_kegg_reference

Format

A data frame with 9 variables:

pathway_id

KEGG pathway identifier (e.g., "ko00010")

pathway_number

KEGG pathway number

pathway_name

Full name of the pathway

ko_id

KEGG Orthology identifier (e.g., "K00001")

ko_description

Description of the KO

ec_number

EC number associated with the KO (if applicable)

level1

KEGG pathway hierarchy Level 1 classification

level2

KEGG pathway hierarchy Level 2 classification

level3

KEGG pathway hierarchy Level 3 classification

Source

KEGG database (https://www.kegg.jp/)

Details

This reference data is used by the ko2kegg_abundance function to convert KO abundance data to KEGG pathway abundance. The data is stored internally and does not require internet connectivity to use.

The dataset covers major KEGG pathway categories including:

  • Metabolism

  • Genetic Information Processing

  • Environmental Information Processing

  • Cellular Processes

  • Organismal Systems

  • Human Diseases

See also

ko2kegg_abundance for converting KO abundance to pathway abundance

Examples

# Load the reference data
data(ko_to_kegg_reference)

# View structure
str(ko_to_kegg_reference)

# Get unique pathways
unique_pathways <- unique(ko_to_kegg_reference$pathway_id)
length(unique_pathways)

# Find KOs for a specific pathway
glycolysis_kos <- ko_to_kegg_reference[ko_to_kegg_reference$pathway_id == "ko00010", ]
head(glycolysis_kos)