Learn R Programming

sybil (version 1.1.2)

rmReact: Remove Reactions From a Model

Description

The function rmReact removes reactions from a model.

Usage

rmReact(model, react, rm_met = TRUE)

Arguments

model
An object of class modelorg
react
An object of class reactId, a numeric vector, or a character vector containing reaction id's.
rm_met
Logical: also remove unused metabolites (default: TRUE).

Value

  • An object of class modelorg.

encoding

utf8

Details

The argument react is evaluated by the function checkReactId.

References

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.

See Also

modelorg, reactId and checkReactId

Examples

Run this code
data(Ec_core)
  Ec_r <- rmReact(Ec_core, c("ATPM", "Biomass"))

Run the code above in your browser using DataLab