## Instances of SDFset class
data(sdfsample)
sdfset <- sdfsample
## Returns data frames with bonds and charges
bonds(sdfset[1:2], type="bonds")
## Returns charged atoms in each molecule
bonds(sdfset[1:2], type="charge")
## Returns the number of missing hydrogens in each molecule
bonds(sdfset[1:2], type="addNH")
Run the code above in your browser using DataLab