Learn R Programming

KEGGgraph (version 1.30.0)

translateKEGGID2GeneID: Translate between KEGGID and Entrez Gene ID

Description

translateKEGGID2GeneID translates KEGGID to NCBI Entrez Gene ID, and translateGeneID2KEGGID translates Entrez Gene ID back to KEGGID.

Usage

translateKEGGID2GeneID(x, organism="hsa") translateGeneID2KEGGID(x, organism="hsa")

Arguments

x
KEGGID, e.g. 'hsa:1432', or Entrez Gene ID, e.g. '1432'
organism
Three alphabet code for organisms. The mapping between the orgniams and codes can be found at http://www.genome.jp/kegg/kegg3.html

Value

Entrez GeneID of the given KEGG ID(s)

Details

The KEGGID are unique identifiers used by KEGG PATHWAY to identify gene products. After parsing the KEGG pathway into graph, the graph use KEGGID as its nodes' names. translateKEGGID2GeneID converts KEGGIDs into entrez GeneID, which can be translated to other types of identifiers, for example with biomaRt package or organism-specific annotation packages. See vignette for examples.

translateKEGG2GeneID is maintained for back-compatibility and wrapps translateKEGGID2GeneID.

Examples

Run this code
egNodes <- c("hsa:1432", "hsa:11072")
translateKEGGID2GeneID(egNodes)
translateGeneID2KEGGID("1432")

Run the code above in your browser using DataLab