Description Usage Arguments Details Value Author(s) See Also Examples
Retrieve Drug Molecules in MOL and SMILES Format from Databases(BMgetDrug)
Retrieve Drug Molecules in MOL and Smi Format from the PubChem Database(BMgetDrug...PubChem)
Retrieve Drug Molecules in MOL and Smi Format from the ChEMBL Database(BMgetDrug...ChEMBL)
Retrieve Drug Molecules in InChI Format from the CAS Database(BMDrugMolCAS)
Retrieve Drug Molecules in MOL and Smi Format from the KEGG Database(BMgetDrug...KEGG)
Retrieve Drug Molecules in MOL and Smi Format from the DrugBank Database(BMgetDrug...DrugBank)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | BMgetDrug(id, from = c("pubchem", "chembl", "cas", "kegg", "drugbank"),
type = c("mol", "smile"), parallel = 5)
BMgetDrugMolPubChem(id, parallel = 5)
BMgetDrugSmiPubChem(id, parallel = 5)
BMgetDrugMolChEMBL(id, parallel = 5)
BMgetDrugSmiChEMBL(id, parallel = 5)
BMDrugMolCAS(id, parallel = 5)
BMgetDrugMolKEGG(id, parallel = 5)
BMgetDrugSmiKEGG(id, parallel = 5)
BMgetDrugMolDrugBank(id, parallel = 5)
BMgetDrugSmiDrugBank(id, parallel = 5)
|
id |
A character vector, as the drug ID(s). |
from |
The database, one of |
type |
The returned molecule format, |
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 MOL and SMILES format from five databases.
This function retrieves drug molecules in MOL format from the PubChem database.
This function retrieves drug molecules in MOL format from the ChEMBL database.
This function retrieves drug molecules in InChI format from the CAS database. CAS database only provides InChI data, so here we return the molecule in InChI format, users could convert them to SMILES format using Open Babel (http://openbabel.org/) or other third-party tools.
This function retrieves drug molecules in MOL format from the KEGG database.
This function retrieves drug molecules in MOL format from the DrugBank database.
A length of id
character vector,
each element containing the corresponding drug molecule.
Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <http://r2s.name>
See BMgetProt
for retrieving protein sequences
from three databases.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | # BMgetDrug
id = c('DB00859', 'DB00860')
BMgetDrug(id, 'drugbank', 'smile')
# BMgetDrugMolPubChem
id = c('7847562', '7847563') # Penicillamine
BMgetDrugMolPubChem(id)
# BMgetDrugsmiPubChem
id = c('7847562', '7847563') # Penicillamine
BMgetDrugSmiPubChem(id)
# BMgetDrugMolChEMBL
id = 'CHEMBL1430' # Penicillamine
BMgetDrugMolChEMBL(id)
# BMgetDrugSmiChEMBL
id = 'CHEMBL1430' # Penicillamine
BMgetDrugSmiChEMBL(id)
# BMDrugMolCAS
id = '52-67-5' # Penicillamine
BMDrugMolCAS(id)
# BMgetDrugMolKEGG
id = 'D00496' # Penicillamine
BMgetDrugMolKEGG(id)
# BMgetDrugSmiKEGG
id = 'D00496' # Penicillamine
BMgetDrugSmiKEGG(id)
# BMgetDrugMolDrugBank
id = 'DB00859' # Penicillamine
BMgetDrugMolDrugBank(id)
# BMgetDrugSmiDrugBank
id = 'DB00859' # Penicillamine
BMgetDrugSmiDrugBank(id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.