powered by
The function rescues a given model.
rescue( model, target, react = NULL, weight.type = "r", timeout = 12, prefix.rescue = NA, prefix.rescued = NA, rescue.threshold = 1e-05 )
An object of class modelorg.
modelorg
A numeric vector for growth target.
A numeric vector or a character vector containing reaction id's. Default: reactions in objective function.
A character indicating which type of weighting to use in model objective modification, i: 1, r: 1/coefficient, s: 1/sqrt(coefficient). Default: r.
The maximum time in seconds to allow for LP call to return. Default: 12.
A string indicating the prefix of output rescue model. Default: no output.
A string indicating the prefix of output rescued model. Default: no output.
A numeric value indicating the threshold to consider a rescue. Default: 1e-5.
The rescue and rescued models, as well as the coefficient set to rescue reactions. SYBIL_SETTINGS("OPT_DIRECTION") is set to "min".
SYBIL_SETTINGS("OPT_DIRECTION")
# NOT RUN { data(Ec_core) rescue(Ec_core, target=0.1) # }
Run the code above in your browser using DataLab