rmReact: Remove Reactions From a Model

View source: R/rmReact.R

rmReactR Documentation

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).

Details

The argument react is evaluated by the function checkReactId.

Value

An object of class modelorg.

Author(s)

Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>

Maintainer: Mayo Roettger <mayo.roettger@hhu.de>

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

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

SysBioChalmers/sybil documentation built on Aug. 24, 2023, 1:08 p.m.