rmReact: Remove Reactions From a Model

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/rmReact.R

Description

The function rmReact removes reactions from a model.

Usage

1
  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

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

Example output

Loading required package: Matrix
Loading required package: lattice

sybil documentation built on May 31, 2021, 5:08 p.m.