Description Usage Arguments Details Value Methods Author(s) References See Also Examples
The function addReact
adds one reaction to a metabolic model, or
changes one reaction in a metabolic model.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
model |
An object of class |
id |
A single character string containing a reaction id (see details below). |
met |
A vector of character strings containing the metabolite id's used in the
reaction given in |
Scoef |
A numeric vector of the same length as |
reversible |
A Boolean value, indicating if the reaction is reversible or not. |
lb |
A single numeric value giving the lower bound of the reaction. |
ub |
A single numeric value giving the upper bound of the reaction. |
obj |
A single numeric value giving the objective coefficient of the reaction. |
subSystem |
A vector of character strings containing the sub systems to which the
reaction belongs. All values must be available in
|
gprAssoc |
A single character string giving the gpr association for the reaction. If
|
reactName |
A single character string giving the name for the reaction. If |
metName |
A vector of character strings of the same length as |
metComp |
A vector of character strings or integers of the same length as |
The function addReact
can be used to add reactions and/or metabolites
to a given metabolic model, or to change parameters of a reaction already
present in a given metabolic model.
If the reaction id in argument id
is already present in the given model,
this reaction will be changed, no new column will be added to the
stoichiometric matrix. If any of the metabolite id's of argument met
are not present in the model, they will be added (new rows in the
stoichiometric matrix will be added).
Arguments subSystem
, gprAssoc
and reactName
are only
used, if a new reaction is added to the model (if id
is not in
react_id(model)
, exact matching is used).
An object of class modelorg
, or
modelorg_irrev
, if model
is of class
modelorg_irrev
.
addReact
:signature(object = "modelorg")
: adds a new reaction to a modelorg
object.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
Becker, S. A., Feist, A. M., Mo, M. L., Hannum, G., Palsson, B. Ø. and Herrgard, M. J. (2007) Quantitative prediction of cellular metabolism with constraint-based models: the COBRA Toolbox. Nat Protoc 2, 727–738.
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.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.