File: get.point2d.Rd

package info (click to toggle)
r-cran-rcdk 3.8.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 888 kB
  • sloc: makefile: 14; sh: 13
file content (34 lines) | stat: -rwxr-xr-x 722 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/atoms.R
\name{get.point2d}
\alias{get.point2d}
\title{get.point2d}
\usage{
get.point2d(atom)
}
\arguments{
\item{atom}{The atom to query}
}
\value{
A 2-element numeric vector representing the X & Y coordinates.
}
\description{
Get the 2D coordinates of the atom.
}
\details{
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.
}
\examples{
\dontrun{
atoms <- get.atoms(mol)
coords <- do.call('rbind', lapply(apply, get.point2d))
}
}
\seealso{
\code{\link{get.point3d}}
}
\author{
Rajarshi Guha (\email{rajarshi.guha@gmail.com})
}