Description Usage Arguments Details Value Author(s) References Examples
View source: R/ChemicalCuration.R
Retrieves InChIKey from PubChem CID using PUG REST.
1 | getPCInChIKey(query, from = "cid", to="InChIKey")
|
query |
ID to be converted |
from |
Type of input ID (default |
This searches PubChem for the CID and returns the InChIKey. The function may work for other output, but this has not been tested.
The InChIKey
Emma Schymanski <emma.schymanski@uni.lu>
PubChem search: http://pubchem.ncbi.nlm.nih.gov/
Pubchem REST: https://pubchem.ncbi.nlm.nih.gov/pug_rest/PUG_REST.html
1 | getPCInChIKey("2519")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.