groups | R Documentation |
Returns frequency information of functional groups in molecules provided as SDF
or SDFset
objects. Alternatively, the function can return for each atom its atom/bond neighbor information.
groups(x, groups = "fctgroup", type = "countMA")
x |
|
groups |
if |
type |
if |
At this point this function is in an experimental stage.
...
Thomas Girke
...
...
## 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.