Entering edit mode
Hi, I totally new to R and still learning. I am trying to annotate the names of HMDB and KEGG IDs from the metabolites name. I was asked to use metabolitesIDmapping package but i am not sure how it works. Can anyone guide me how i can use this package to extract HMDB and KEGG IDs.
Next time you post please use a more informative title that relates to the issue you are experiencing or minmally the package you wish to ask questions about. Have you looked at the metaboliteIDmapping landing page. That page contains the man pages for the package and a vignette that should get you started. You might also consider the KEGGREST and possible MetaboSignal. You can search for biocViews terms of interest to see other related packages on software page
An alternative is to use
OmnipathR::translate_ids
(developed by me):Above we use the "name" field from HMDB, which is the preferred name for each record. But a lot more name varieties are available under "synonyms". I recommend to look also there if you don't find your IDs by "name":
I recommend to install the latest version of OmnipathR from GitHub: