get.adjacency.matrix | R Documentation |
The adjacency matrix for a molecule with N
non-hydrogen atoms is an
N \times N
matrix where the element [i
,j
] is set to 1
if atoms i
and j
are connected by a bond, otherwise set to 0.
get.adjacency.matrix(mol)
mol |
A |
A N \times N
numeric matrix
Rajarshi Guha rajarshi.guha@gmail.com
get.connection.matrix
m <- parse.smiles("CC=C")[[1]]
get.adjacency.matrix(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.