Retrieve Drug Molecules in SMILES Format from the PubChem Database
Source:R/101-getDrugPubChem.R
getSmiFromPubChem.Rd
Retrieve Drug Molecules in SMILES Format from the PubChem Database
See also
See getMolFromPubChem
for retrieving drug molecules
in MOL format from the PubChem database.
Examples
id = c('7847562', '7847563') # Penicillamine
# \donttest{
getSmiFromPubChem(id)# }
#> Error in loadMolecules(normalizePath(sdffile)): The package "rcdk" is required to load molecular structures