## Instances of SDFset class
data(sdfsample)
sdfset <- sdfsample
## Enumerate functional groups
groups(sdfset[1:20], groups="fctgroup", type="countMA")
## Report atom/bond neighbors
groups(sdfset[1:4], groups="neighbors", type="countMA")
groups(sdfset[1:4], groups="neighbors", type="count")
groups(sdfset[1:4], groups="neighbors", type="all")
Run the code above in your browser using DataLab