Description Usage Arguments Value Author(s) References Examples
Accepts compounds in an SDFset
container and returns the corresponding
SMILES (Simplified Molecular Input Line Entry Specification) strings as SMIset
object.
If ChemineOB is available then OpenBabel for the format conversion.
Otherwise the compound is submitted to the ChemMine Tools web service for conversion
with the Open Babel Open Source Chemistry Toolbox. If the input object
contains multiple items, only the first is converted.
1 | sdf2smiles(sdf)
|
sdf |
A |
character |
for details see ?"character" |
Tyler Backman, Kevin Horan
Chemmine web service: http://chemmine.ucr.edu
Open Babel: http://openbabel.org
SMILES Format: http://en.wikipedia.org/wiki/Chemical_file_format#SMILES
1 2 3 4 5 6 7 8 | ## Not run:
## get a sample compound
data(sdfsample); sdfset <- sdfsample[1]
## convert to smiles
(smiles <- sdf2smiles(sdfset))
as.character(smiles)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.