GetPubchemPro | R Documentation |
GetPubchemPro
function retrieves the properties (InChIKey, Canonical
SMILES, and molecula formula) of drugs from PubChem database via
PUG REST,
accordint to CIDs.
GetPubchemPro(cids)
cids |
A vector of integer or character indicates the CIDs of drugs. |
A data frame contains 4 columns:
CID CID of drugs which is inputted to cids
argument.
InChIKey Standard InChIKey of matched drugs.
CanonicalSMILES Standard Canonical SMILES of matched drugs.
MolecularFormula Molecular formula for matched drugs.
Jing Tang jing.tang@helsinki.fi Shuyu Zheng shuyu.zheng@helsinki.fi
property <- GetPubchemPro(c(1,2,3,4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.