largestComponent | R Documentation |
If a single compound in an SDF file contains more than one disconnected component, this function will return an SDF with only the largest component, removing all other components. This will be applied to each SDF in the given SDFset.
largestComponent(sdfSet)
sdfSet |
any SDFset object. |
a new SDFset containing only single component compounds.
Kevin Horan
## Not run:
sdf = smiles2sdf(c("Cl.CCC1C2CC3C4C5(CC(C2C5O)N3C1O)C6=CC=CC=C6N4C TEST"))
lg = largestComponent(sdf)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.