Get adjacency matrix for a molecule.
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
m <- parse.smiles("CC=C")[[1]]
get.adjacency.matrix(m)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.