View source: R/selection_functions.R
match_smarts | R Documentation |
Find matches to a given molecule using a SMARTs pattern.
match_smarts(smarts, mol, limit = 10)
smarts |
a SMARTS string |
mol |
a CDK IAtomContainer or a java.util.Arraylist of them |
limit |
limit of the number of matches |
a hashset of atoms and bonds
https://cdk.github.io/cdk/latest/docs/api/org/openscience/cdk/isomorphism/Mappings.html
https://cdk.github.io/cdk/latest/docs/api/org/openscience/cdk/smiles/smarts/SmartsPattern.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.