predict.Frag: Predict fragments from specified reaction events on a single...

View source: R/OPCFrags.R

predict.FragR Documentation

Predict fragments from specified reaction events on a single molecule.

Description

Predict fragments from specified reaction events on a single molecule.

Usage

## S3 method for class 'Frag'
predict(cmpd, grp, rxnList, rxnSave)

Arguments

cmpd

SMILES string representing a single molecule.

grp

Single-element named character vector containing a functional group. Name represents atom indices. Output of smartBonds().

rxnList

Character vector of allowed reaction types.

rxnSave

Character vector containing saved reactions preceding this one in sequence.

Value

Returns a one-line tibble containing: reaction sequence up to this point, product molecule (in SMILES format), and the current value of savePoint (TRUE or FALSE).


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