Get the 2D coordinates of the atom. 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.
Get the 2D coordinates of the atom.
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.
get.point2d(atom)
atom |
The atom to query |
A 2-element numeric vector representing the X & Y coordinates.
Rajarshi Guha (rajarshi.guha@gmail.com)
## Not run:
atoms <- get.atoms(mol)
coords <- do.call('rbind', lapply(apply, get.point2d))
## End(Not run)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.