This is a test version of Biostars. For the public version, visit https://www.biostars.org.
KEGGREST: how to retrieve compound list by pathway ID

Hello, I am not very familiar with KEPP API and KEGGREST. I want to get the list of compound by pathway ID. In Kegg API, I can get it by : http://rest.kegg.jp/link/cpd/map00362

But by using KEGGREST, I can't get that using KeggLink or any other command. I will be thankful if you help me out.

I am also confused by using KEGG API vs KEGGREST. Is there anyway to use LEGG API ( I mean the direct http link) in R or Python instead of using KEGGREST package?

Any help would be appreciated. Thanks for your time in advance.

keggrest

Perhaps this thread will assist: KEGGREST -- gene list (take a look at the answer of Damian).

Also take a look at my comment in the thread, where I give a quick example in R.

1 answer

This should work

keggGet("pathway_id")[[1]]$COMPOUND

As for using the KEGG API in R, I'm not aware of it. You should be able to pull all the data you need using KEGGREST

Log in to answer this question.