Description Usage Arguments Value Author(s) References Examples
Accepts a named vector or SMIset
of
SMILES (Simplified Molecular Input Line Entry Specification) strings and
returns its equivalent as an SDFset
container.
This function runs in two modes. If ChemmineOB is available then it will use OpenBabel to convert all the given smiles into an SDFset with 2D coordinates. Otherwise the compound is submitted to the ChemMine Tools web service for conversion with the Open Babel Open Source Chemistry Toolbox. In this case only the first element will be used since this is a very slow operation.
1 | smiles2sdf(smiles)
|
smiles |
A named vector of SMILES strings. The names will be used to name the SDF objects. |
SDFset |
for details see ?"SDFset-class" |
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 | ## Not run:
## convert to sdf
data(smisample)
(sdf <- smiles2sdf(smisample[1:4]))
## End(Not run)
|
An instance of "SDFset" with 4 molecules
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.