keggConv {KEGGREST}R Documentation

Convert KEGG identifiers to/from outside identifiers

Description

Convert KEGG identifiers to/from outside identifiers.

Usage

keggConv(target, source)

Arguments

target

A KEGG organism code (), T number, or one of the external databases ncbi-gi, ncbi-geneid, ncbi-proteinid, uniprot, or (for chemical substance identifiers) drug, compound, or glycan, pubchem, or chebi.

source

Same as target, but may also be a list of KEGG identifers representing internal or external names.

Value

A named character vector.

Author(s)

Dan Tenenbaum

References

http://www.kegg.jp/kegg/docs/keggapi.html

Examples

head(keggConv("eco", "ncbi-geneid")) ## conversion from NCBI GeneID to 
                               ## KEGG ID for E. coli genes
head(keggConv("ncbi-geneid", "eco")) ## opposite direction
head(keggConv("ncbi-proteinid", c("hsa:10458", "ece:Z5100"))) ## conversion from KEGG ID
                                                 ## to NCBI GI
## conversion from NCBI GI to KEGG ID when the organism code is not known:
head(keggConv("genes", "ncbi-geneid:3113320"))

[Package KEGGREST version 1.18.1 Index]