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.
Usage
smiles2sdf(smiles)
Arguments
smiles
A named vector of SMILES strings. The names will be used to name the SDF objects.