Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/704-readMolFromSmi.R
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 extrDrug...()
functions.
A list, containing parsed Java molecular object or character strings.
Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <http://r2s.name>
See readMolFromSDF
for reading molecules
from SDF files and returning parsed Java molecular object.
1 2 3 | smi = system.file('vignettedata/test.smi', package = 'BioMedR')
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.