obmol | R Documentation |
Return reference to an OBMol from OpenBabel, if available. Operates on SDF or SDFset objects.
obmol(x)
x |
object of class |
A pointer to an OBMol object, or a vector of pointers for an
SDFset
.
Kevin Horan
header
, atomcount
, bondblock
, datablock
, cid
, sdfid
## SDF/SDFset instances
if(ChemmineR:::.haveOB()){
data(sdfsample)
sdfset <- sdfsample
sdf <- sdfset[[1]]
obmolRef = obmol(sdf)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.