changeBounds | R Documentation |
The function changes the upper and/or lower bounds of a given metabolic network model to new values.
changeBounds(model, react, lb = NULL, ub = NULL)
model |
An object of class |
react |
An object of class |
lb |
Numeric vector giving the lower bounds for the fluxes mentioned in
|
ub |
Numeric vector giving the upper bounds for the fluxes mentioned in
|
The argument react
will be evaluated by the function
checkReactId
.
Returns the given model (an object of the same class as the argument
lpmodel
) containing the new objective function.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
checkReactId
## change the E.coli core model to lactate input:
data(Ec_core)
Ec_new <- changeBounds(Ec_core,
c("EX_glc", "EX_lac"),
lb = c(0, -20), ub = 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.