Learn R Programming

fbar (version 0.6.0)

split_on_arrow: Internal function: Splitting reaction equation into substrate and product

Description

Internal function: Splitting reaction equation into substrate and product

Usage

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