Skip to contents

Perform a SMARTS substructure searches a SMILES chemical structure.

Usage

smartsSearch(SMILES, SMARTS)

Arguments

SMILES

a valid SMILES structure string

SMARTS

a valid SMARTS symbol

Value

The number of SMARTS matches.

Examples

smartsSearch("C[C@H](C(=O)O)N","[OX2H]")
#> [1] 1