get.point2d | R Documentation |
Get the 2D coordinates of the atom.
get.point2d(atom)
atom |
The atom to query |
In case, coordinates are unavailable (e.g., molecule was read in from a SMILES file) or have not been generated yet, ‘NA'’s are returned for the X & Y coordinates.
A 2-element numeric vector representing the X & Y coordinates.
Rajarshi Guha (rajarshi.guha@gmail.com)
get.point3d
## Not run:
atoms <- get.atoms(mol)
coords <- do.call('rbind', lapply(apply, get.point2d))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.