Description Usage Arguments Details Value Author(s) See Also Examples
Read Molecules from SMILES Files and Return Parsed Java Molecular Object or Plain Text List
1 | 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.
Nan Xiao <https://nanx.me>
See readMolFromSDF
for reading molecules
from SDF files and returning parsed Java molecular object.
1 2 3 4 | 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.