View source: R/pubchem_calls.R
pubchemCidToSDF | R Documentation |
Accepts one or more PubChem compound ids
and downloads the corresponding compounds from PubChem Power User Gateway (PUG)
returning results in an SDFset
container.
pubchemCidToSDF(cids)
cids |
A |
SDFset |
for details see ?"SDFset-class" |
Kevin Horan
PubChem PUG REST: https://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST_Tutorial.html
## Not run:
## fetch 2 compounds from PubChem
compounds <- pubchemCidToSDF(c(111,123))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.