File: generate.2d.coordinates.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 (32 lines) | stat: -rwxr-xr-x 1,070 bytes parent folder | download | duplicates (3)
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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/rcdk.R
\name{generate.2d.coordinates}
\alias{generate.2d.coordinates}
\title{Generate 2D coordinates for a molecule.}
\usage{
generate.2d.coordinates(mol)
}
\arguments{
\item{mol}{The molecule to query. Should be a `jobjRef` representing an `IAtomContainer`}
}
\value{
The input molecule, with 2D coordinates added
}
\description{
Some file formats such as SMILES do not support 2D (or 3D) coordinates
for the atoms. Other formats such as SD or MOL have support for coordinates
but may not include them. This method will generate reasonable 2D coordinates 
based purely on connectivity information, overwriting
any existing coordinates if present.
}
\details{
Note that when depicting a molecule (\code{\link{view.molecule.2d}}), 2D coordinates
are generated, but since it does not modify the input molecule, we do not have access
to the generated coordinates.
}
\seealso{
\code{\link{get.point2d}}, \code{\link{view.molecule.2d}}
}
\author{
Rajarshi Guha (\email{rajarshi.guha@gmail.com})
}