Learn R Programming

fbar (version 0.6.0)

expanded_to_glpk: Parse a long format metabolic model to a glpk model

Description

This function is deprecated. ROI.plugin.glpk is recommended instead.

Usage

expanded_to_glpk(reactions_expanded)

Arguments

reactions_expanded

A list of data frames as output by reactiontbl_to_expanded

Value

A list suitable for input to Rglpk

Details

This parses the long format produced by reactiontbl_to_expanded to a glpk model.

To install the Rglpk package in Linux, run sudo apt-get install libglpk-dev in a terminal, and then run install.packages('Rglpk') in R.

The reaction_table must have columns:

  • abbreviation,

  • equation,

  • uppbnd,

  • lowbnd, and

  • obj_coef.

See Also

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