This function performs substructure searches of a query, specified
in SMILES or SMARTS forms, over one or more target molecules.
Usage
matches(query, targets)
Arguments
query
A SMILES or SMARTS string
targets
A single IAtomContainer object or a list of IAtomContainer objects
Value
A boolean vector, where each element is TRUE or FALSE depending on whether
the corresponding element in targets contains the query or not.
Details
Note that
since the CDK SMARTS matcher internally will perform aromaticity perception and
atom typing, the target molecules need not have these operations done on them
beforehand.