pubchemName2CID {ChemmineR} | R Documentation |
Takes any compound name and queries pubchem to find its pubchem id (CID).
pubchemName2CID(name)
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
## Not run: ## fetch 2 compounds from PubChem cid <- pubchemName2CID("CHEMBL460363") ## End(Not run)