Learn R Programming

ChemmineR (version 2.24.2)

obmol: obmol

Description

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

Usage

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.

See Also

header, atomcount, bondblock, datablock, cid, sdfid

Examples

Run this code
## SDF/SDFset instances
if(require(ChemmineOB)){
	data(sdfsample)
	sdfset <- sdfsample
	sdf <- sdfset[[1]]

	obmolRef = obmol(sdf)
}

Run the code above in your browser using DataLab