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
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/matrix.R
\name{get.connection.matrix}
\alias{get.connection.matrix}
\title{Get connection matrix for a molecule.}
\usage{
get.connection.matrix(mol)
}
\arguments{
\item{mol}{A \code{jobjRef} object with Java class \code{IAtomContainer}}
}
\value{
A \eqn{N \times N} numeric matrix
}
\description{
The connection matrix for a molecule with \eqn{N} non-hydrogen atoms is an
\eqn{N \times N} matrix where the element [\eqn{i},\eqn{j}] is set to the
bond order if atoms \eqn{i} and \eqn{j} are connected by a bond, otherwise set to 0.
}
\examples{
m <- parse.smiles("CC=C")[[1]]
get.connection.matrix(m)
}
\seealso{
\code{\link{get.adjacency.matrix}}
}
\author{
Rajarshi Guha \email{rajarshi.guha@gmail.com}
}
|