Get all primal values of variables after optimization (the resulting flux distribution).
# S4 method for optObj_clpAPI
getFluxDist(lp)# S4 method for optObj_cplexAPI
getFluxDist(lp)
# S4 method for optObj_glpkAPI
getFluxDist(lp)
# S4 method for optObj_lpSolveAPI
getFluxDist(lp)
# S4 method for optsol
getFluxDist(lp, react = NULL, opt = NULL, drop = TRUE)
Numeric vector indicating the optimizations (columns of the flux
distribution) to return.
Default: NULL.
Used for array subsetting like in [.
Default: TRUE.
A numeric matrix or vector containing all primal values (the flux distribution).
signature(lp = "optObj_clpAPI")method to use with package optObj_clpAPI.
signature(lp = "optObj_cplexAPI")method to use with package optObj_cplexAPI.
signature(lp = "optObj_glpkAPI")method to use with package optObj_glpkAPI.
signature(lp = "optObj_lpSolveAPI")method to use with package optObj_lpSolveAPI.
signature(lp = "optsol")method to use with objects of class '>optsol.
Returns a subset of the flux distribution stored in slot fluxdist
as object of class Matrix.
If arguments react and opt are both set to NULL
(default), the flux distribution corresponding to the variable indices in
slot fldind will be returned.
Superclass '>optObj and constructor function
optObj.