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.


PengGroup/indoortransformer documentation built on May 21, 2022, 12:05 a.m.