oneFluxDel
, oneGeneDel
,
doubleFluxDel
and doubleGeneDel
)
and fills a solution object (a derivative of class
optsol
) and a problem object depending on the
specified solver. The optimizations are then performed by calls to
optimizeProb
.optimizer(model, lb, ub,
delete, geneFlag,
alg = SYBIL_SETTINGS("ALGORITHM"),
setToZero = FALSE,
checkOptSolObj = FALSE,
rebuildModel = FALSE,
fld = "none",
prCmd = NA, poCmd = NA,
prDIR = NA, poDIR = NA,
verboseMode = 2,
...)
modelorg
.dels
slot of optsol
. If lb
is
missing, the values are set to 0.dels
slot of optsol
. If ub
is
missing, the values are set to 0.TRUE
, all entries in delete
are
considered to be gene id's, otherwise, they were treated as fluxes."none"
, no flux
distribution will be returned. If set to "fluxes"
, only the real
flux distribution is returned, meaning all variable values after
optimization representinFBA
linearMOMA
linearMOMA_COBRA
SYBIL_SETTINGS("ALGORITHM")
.FALSE
.sink
to redirect output to a file. If loglevel == 2
,
a progress bar will be produced. If loglevel > 2
, incheckOptSol
.
Default: FALSE
.TRUE
, the problem object will be rebuilt prior
each round of optimization.
Default: FALSE
.optimizeProb
.
See there for details.
Default: NA
.optimizeProb
.
See there for details.
Default: NA
.prDIR = c(2, 5, 10)
executes the commands in prCmd before the second, 5th and 10th optimization.
If prDIR
, but for postprocessing.
Default: NA
.sysBiolAlg
.optsol
.optimizer
is called by the functions
oneFluxDel
, oneGeneDel
,
doubleFluxDel
, doubleGeneDel
and
geneDeletion
, but not directly by a user. The function
optimizer
runs a series of optimizations, whereas the function
optimizeProb
only runs exactly one optimization. In principle,
optimizer
is a kind of wrapper to optimizeProb
.Schellenberger, J., Que, R., Fleming, R. M. T., Thiele, I., Orth, J. D., Feist, A. M., Zielinski, D. C., Bordbar, A., Lewis, N. E., Rahmanian, S., Kang, J., Hyduke, D. R. and Palsson, B. Ø. (2011) Quantitative prediction of cellular metabolism with constraint-based models: the COBRA Toolbox v2.0. Nat Protoc 6, 1290--1307.
oneFluxDel
, oneGeneDel
,
doubleFluxDel
, doubleGeneDel
,
code{optsol}, optimizeProb
and SYBIL_SETTINGS
.