Learn R Programming

rcdk (version 2.7)

parse.smiles: Parse a SMILES String

Description

This function parses a SMILES string to generate an IAtomContainer object. Note that the resultant molecule will not have any 2D or 3D coordinates.

Usage

parse.smiles(smiles, parser)

Arguments

smiles
A SMILES string
parser
A reference to an object of class IChemObjecBuilder that can be obtained from get.smiles.parser. If this argument is not specified, then a parser will be created automatically.

Value

  • A jobjRef to a CDK IAtomContainer object

See Also

get.smiles, get.smiles.parser, view.molecule.2d