split_on_arrow: Internal function: Splitting reaction equation into substrate...

Description Usage Arguments Value

View source: R/parsing_and_conversion.R

Description

Internal function: Splitting reaction equation into substrate and product

Usage

1
split_on_arrow(equations, regex_arrow = "<?[-=]+>")

Arguments

equations

Character vector of reaction equations.

regex_arrow

Regular expression for the arrow splitting sides of the reaction equation.

Value

a data_frame, with columns:

reversible

boolean, is reaction reversible

before

the left hand side of the reaction string

after

the right hand side of the reaction string


fbar documentation built on Sept. 2, 2020, 5:08 p.m.