GetCid | R Documentation |
GetCid
matches CID of drugs according to user-provided identifiers.
GetCid(ids, type, quiet = TRUE)
ids |
A vector of characters contains the identifiers of drugs for searching. |
type |
A character indicates the type of identifiers passed to
|
quiet |
A logical value. If it is |
GetCid
queries PubChem database via
PUG REST
to search matched CIDs of drugs according to other identifiers. Available
identifiers are: name, SMILES, InChIKey.
Following is the "API USAGE POLICY": Please note that PUG REST is not designed for very large volumes (millions) of requests. We ask that any script or application not make more than 5 requests per second, in order to avoid overloading the PubChem servers. If you have a large data set that you need to compute with, please contact us for help on optimizing your task, as there are likely more efficient ways to approach such bulk queries.
A data frame contains two columns:
input_id
The identifiers input by user.
cid
The matched CID.
Jing Tang jing.tang@helsinki.fi Shuyu Zheng shuyu.zheng@helsinki.fi
GetCid("aspirin", "name", quiet = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.