Mapping KEGG pathway names to IDs using KEGG.db package
2
0
Entering edit mode
NS ▴ 60
@ns-7498
Last seen 5.8 years ago
United States

Hi,

I am trying to convert a list of KEGG pathway name to corresponding KEGG IDs.

To do that, I am using KEGG.db, Version 3.1.2. It seems that this package is not complete, for example one of the KEGG pathways is " Adrenergic signaling in cardiomyocytes" with ID= 'hsa04261', which there is not available in this package?!

I am using the below code:

    library(KEGG.db)

    keggid2name <- as.list(KEGGPATHID2NAME)

    keggid2name["04261"]

Do you have any idea about where can I find complete list of pathway names and IDs?

KEGG.db KEGG id • 5.2k views
ADD COMMENT
3
Entering edit mode
@martin-morgan-1513
Last seen 5 months ago
United States

The KEGGREST package vignette suggests

> library(KEGGREST)
> keggGet("hsa04261")[[1]]$NAME
[1] "Adrenergic signaling in cardiomyocytes - Homo sapiens (human)"
> ids = "hsa04261"                     # alternative -- vector of ids
> sapply(keggGet(ids), "[[", "NAME")
[1] "Adrenergic signaling in cardiomyocytes - Homo sapiens (human)"

Is that what you are looking for?

ADD COMMENT
1
Entering edit mode
b.nota ▴ 370
@bnota-7379
Last seen 4.3 years ago
Netherlands

Hi there,

When I load the KEGG.db package with

library(KEGG.db)

I get the following text:

KEGG.db contains mappings based on older data because the original
  resource was removed from the the public domain before the most
  recent update was produced. This package should now be considered
  deprecated and future versions of Bioconductor may not have it
  available.  Users who want more current data are encouraged to look
  at the KEGGREST or reactome.db packages


Ben

ADD COMMENT

Login before adding your answer.

Traffic: 548 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6