Description Usage Arguments Value Author(s) Examples
Returns the number of matches found for each compound given.
1 | smartsSearch_OB(obmolRefs, smartsPattern, uniqueMatches = TRUE)
|
obmolRefs |
A list of OBMol references ( of class '_p_OpenBabel__OBMol') representing the molecules to
compute properites for. If you have your molecules in string format, you can create a list
of OBMol references using the |
smartsPattern |
Any valid SMARTS pattern. |
uniqueMatches |
Should only unique matches be counted? |
A vector of counts.
Kevin Horan
1 2 | molRefs = forEachMol("SMILES","C1CCCCC1\ttest-compound-name",identity)
smartsSearch_OB(molRefs,"[CH3X4]")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.