View source: R/getPubchemFromNsc.R
getPubchemFromNsc | R Documentation |
Get PubChem SID/CID value from an NSC using PubChem PUG API
getPubchemFromNsc(id, type = "cid", debug = TRUE, cachePath = NULL)
id |
an NSC ID |
type |
"cid" or "sid" PubChem ID types |
debug |
a boolean, print debug information? (Default: TRUE) |
cachePath |
path for cache files |
a PubChem CID/SID or NA, otherwise
Augustin Luna (augustin@mail.nih.gov)
getPubchemFromNsc("94600", "cid") #Should be: 24360
getPubchemFromNsc("94600", "sid") #Should be: 399733
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.