Learn R Programming

fbar (version 0.6.0)

reactiontbl_to_gurobi: Parse reaction table to Gurobi format

Description

This function is deprecated. github.com/Fl0Sch/ROI.plugin.gurobi is recommended instead.

Usage

reactiontbl_to_gurobi(reaction_table, regex_arrow = "")

Arguments

reaction_table

A data frame describing the metabolic model.

regex_arrow

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

Value

A list suitable for input to Gurobi.

Details

Parses a reaction table to give a list in Gurobi's input format. This function is a shorthand for reactiontbl_to_expanded followed by expanded_to_gurobi.

The reaction_table must have columns:

  • abbreviation,

  • equation,

  • uppbnd,

  • lowbnd, and

  • obj_coef.

See Also

Other parsing_and_conversion: expanded_to_ROI(), expanded_to_glpk(), expanded_to_gurobi(), reactiontbl_to_expanded()