setup_FBA_constraints: Setup FBA constraints

Description Usage Arguments Details Value

View source: R/QP_FBA_functions.R

Description

either determine reactions that cannot carry flux given stoichiometry, boundary fluxes and directionality or write all equality and inequality constraints to the global environment.

Usage

1
setup_FBA_constraints(return_infeasible = F, infRxMet = NULL)

Arguments

return_infeasible

logical: if TRUE then only return metabolite and reaction IDs to be removed. If FALSE then determine all equality and inequality constraints.

infRxMet

a list of metabolites and reactions to remove

Details

If return_infeasible is TRUE then a data.frame of reactions that cannot carry flux (and associated metabolites) will be returned providing this data.frame as infRxMet will exclude these reactions and species from subsequent steps.

Value

write optimization constraints to global environment


shackett/simmer documentation built on May 26, 2017, 6:59 a.m.