Learn R Programming

rcdk (version 2.4)

draw.molecule: Edit a 2D Molecular Structure

Description

This function allows you to draw a 2D structure and obtain the resultant structure as a Molecule object. Note that the structure that is returned contains only 2D coordinates

Usage

draw.molecule(molecule = NA)

Arguments

molecule
A CDK IAtomContainer object. If specified, then the editor is loaded with the molecule. If NA, the editor will be blank

Value

  • A list of Molecule objects

See Also

view.molecule.table, view.molecule.3d, view.molecule.2d