Description Usage Arguments Value Author(s) References Examples
View source: R/pubchem_calls.R
Takes any compound name and queries pubchem to find its pubchem id (CID).
1 |
name |
Any compound name, used to query pubchem to find the compound. |
The result is the pubchem compound id. If the name is not found, NA will be returned.
Kevin Horan
PubChem PUG REST: https://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST_Tutorial.html
1 2 3 4 5 | ## Not run:
## fetch 2 compounds from PubChem
cid <- pubchemName2CID("CHEMBL460363")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.