smartBonds: Quickly detects specific functional groups in a molecule

View source: R/bonds.R

smartBondsR Documentation

Quickly detects specific functional groups in a molecule

Description

Detects specific functional groups in a molecule (SMILES format) and returns a vector of functional group strings named with atom indices (Structure-Data Format). Faster and more lightweight than findBonds().

Usage

smartBonds(smiles, grps)

Arguments

smiles

A SMILES-formatted molecule string.

grps

A predefined character vector of functional groups.

Value

A named character vector.


toxicpeng/indoortransformer documentation built on April 15, 2022, 6:38 p.m.