R/104-getDrugKEGG.R
getSmiFromKEGG.Rd
Retrieve Drug Molecules in SMILES Format from the KEGG Database
getSmiFromKEGG(id, parallel = 5)
id | A character vector, as the KEGG 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 |
A length of id
character vector,
each element containing the corresponding drug molecule.
This function retrieves drug molecules in SMILES format from the KEGG database.
See getMolFromKEGG
for retrieving drug molecules
in MOL format from the KEGG database.
# NOT RUN { id = 'D00496' # Penicillamine # }# NOT RUN { getSmiFromKEGG(id) # }