obmol: obmol

Description Usage Arguments Value Author(s) See Also Examples

Description

Return reference to an OBMol from OpenBabel, if available. Operates on SDF or SDFset objects.

Usage

1
obmol(x)

Arguments

x

object of class SDF or SDFset

Value

A pointer to an OBMol object, or a vector of pointers for an SDFset.

Author(s)

Kevin Horan

See Also

header, atomcount, bondblock, datablock, cid, sdfid

Examples

1
2
3
4
5
6
7
8
## SDF/SDFset instances
if(require(ChemmineOB)){
	data(sdfsample)
	sdfset <- sdfsample
	sdf <- sdfset[[1]]

	obmolRef = obmol(sdf)
}

girke-lab/ChemmineR-git-svn-bridge documentation built on May 17, 2019, 5:25 a.m.