smartsSearch_OB(obmolRefs, smartsPattern, uniqueMatches = TRUE)
forEachMol
function, see the example.
molRefs = forEachMol("SMILES","C1CCCCC1\ttest-compound-name",identity)
smartsSearch_OB(molRefs,"[CH3X4]")
Run the code above in your browser using DataLab