FBA_solve: FBA_solve, a function to solve CBM problems

Description Usage Arguments Examples


This function sugar-coats Rglpk_solve_LP which is a function provided by the Rglpk package, FBA_solve solves FBA problems using Rglpk_solve_LP and gives the solver output in a CBM context including solver error messages and graceful degradation.


FBA_solve(fba_object, precision,verbosity,maximize)



Is a list containing the data required to perform flux balance analysis. The elements of the list are mat which is the stoichiometric matrix, dir which gives the direction of the equality constraints, obj specifies the objective function for the simulation, bounds specifies the lower and upper inequality constraints, rhs is the right hand side of the steady state expression, types refers to the numeric nature of the variables which in case of FBA happens to be "Continuous", max is a Boolean specifying the type of optimization, "Maximization" by default, all_genes is all the genes present in the model, gpr contains boolean expressions of gene essentiality for the corresponding reactions in the model, metabolite_name contains list of all the metabolites, reaction_list contains all the reactions present in the model, compartment is a numeric identifier for each reaction the key for which is in comp_name.


A number indicating the precision of the flux solution after the decimal point, defaults to 6


is a Boolean indicating if the verbose output of the LP solver should be displayed during simulation, defaults to FALSE


is a Boolean that can over-ride the default mode of optimization (maximization) and minimize if FALSE


# Flux Balance Analysis performed on a core-metabolism model of E.coli

abcdeFBA documentation built on May 2, 2019, 9:19 a.m.

Related to FBA_solve in abcdeFBA...