
Last chance! 50% off unlimited learning
Sale ends in
addExchReact
adds exchange reactions for a set of
metabolites to a metabolic model.addExchReact(model, met, lb, ub)
modelorg
.met
containing the
lower bounds for the exchange reactions.
Default: rep(0, length(met))
.met
containing the
upper bounds for the exchange reactions.
Default: rep(SYBIL_SETTINGS("MAXIMUM"), length(met))
.modelorg
lb[i] < 0
, the exchange reaction for the metabolite in met[i]
is considered to be reversible, otherwise irreversible. A reaction id is
generated for each exchange reaction by prepending the metabolite id's with
the string "Ex_"
.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.
modelorg
and addReact
# add exchange reactions (allowing input) for the metabolites
# malate and oxalacetate
data(Ec_core)
mod <- addExchReact(Ec_core,
met = c("mal_L[c]", "oaa[c]"),
lb = c(-20, -20))
findExchReact(mod)
Run the code above in your browser using DataLab