Description Usage Arguments Value Author(s) Examples
Creates an \"Rmolecule\" from an atom-vector and a bond-matrix
1 | createRMolecule(atoms, bonds)
|
atoms |
A vector containing the symbol names of all atoms in the molecule |
bonds |
A matrix with the same number of rows and columns as the atoms-vector containing the type of bonds between the atoms |
an instance of "molecule"
Michael Mahr <rchemcpp@bioinf.jku.at>
1 | m <- createRMolecule(c("C","C"),matrix(c(0,3,3,0),nrow=2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.