View source: R/getPubchemFromChembl.R
getPubchemFromChembl | R Documentation |
Get PubChem SID/CID value from an ChEMBL ID using PubChem PUG API
getPubchemFromChembl(id, type = c("cid", "sid"), debug = TRUE, maxTries = 3)
id |
an ChEMBL ID |
type |
"cid" or "sid" PubChem ID types |
debug |
a boolean, print debug information? (Default: TRUE) |
maxTries |
number of times to re-try query |
a PubChem CID/SID or NA, otherwise
Augustin Luna (augustin@mail.nih.gov)
getPubchemFromChembl("CHEMBL192", "cid") #Should be: 135398744
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.