Description Usage Arguments Details Value Author(s) See Also Examples
Retrieve Drug Molecules in SMILES Format from the PubChem Database
1 | getSmiFromPubChem(id, parallel = 5)
|
id |
A character vector, as the PubChem drug ID. |
parallel |
An integer, the parallel parameter, indicates how many
process the user would like to use for retrieving
the data (using RCurl), default is |
This function retrieves drug molecules in SMILES format from the PubChem database.
A length of id
character vector,
each element containing the corresponding drug molecule.
Nan Xiao <https://nanx.me>
See getMolFromPubChem
for retrieving drug molecules
in MOL format from the PubChem database.
1 2 3 | id = c('7847562', '7847563') # Penicillamine
getSmiFromPubChem(id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.