readMolFromSmi | R Documentation |
Read Molecules from SMILES Files and Return Parsed Java Molecular Object or Plain Text List
readMolFromSmi(smifile, type = c("mol", "text"))
smifile |
Character vector, containing SMILES file location(s). |
type |
|
This function reads molecules from SMILES strings and return
parsed Java molecular object or plain text list
needed by extractDrug...()
functions.
A list, containing parsed Java molecular object or character strings.
See readMolFromSDF
for reading molecules
from SDF files and returning parsed Java molecular object.
smi = system.file('vignettedata/FDAMDD.smi', package = 'Rcpi')
mol1 = readMolFromSmi(smi, type = 'mol')
mol2 = readMolFromSmi(smi, type = 'text')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.