mergeReact2Modelorg: Functions to subset and merge modelorg objects.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mergeReact2Modelorg.R

Description

The function getReaction can extract single react objects from a modelorg object. If those react objects are saved in a list, they can be passed to the function mergeReact2Modelorg to combine them to one new model.

Usage

1
2
3
mergeReact2Modelorg(reactList = NULL, id = "newModel", name = "")
## S4 method for signature 'modelorg,ANY'
getReaction(X, j = NULL, drop = T, tol = SYBIL_SETTINGS("TOLERANCE"))

Arguments

reactList

list of react objects

id

id for the new modelorg

name

name for the new modelorg

j

defines the reaction numbers or IDs to extract from the model.

drop

If FALSE, a list of length 1 is returned.

tol

Threshold for coefficients to be unequal zero.

X

modelorg object to extract reactions from.

Value

mergeReact2Modelorg returns a modelorg object.

getReaction returns a react object if length(j) = 1 and drop = TRUE. Otherwise a list of react objects.

Author(s)

Claus Jonathan Fritzemeier <clausjonathan.fritzemeier@uni-duesseldorf.de>

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

See Also

modelorg, react

Examples

1
2
3
4
5

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