Description Usage Arguments Value Author(s) See Also Examples
View source: R/mergeReact2Modelorg.R
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.
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"))
|
reactList |
list of |
id |
id for the new |
name |
name for the new |
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 |
|
mergeReact2Modelorg returns a modelorg
object.
getReaction returns a react
object if length(j) = 1
and drop = TRUE
. Otherwise
a list of react
objects.
Claus Jonathan Fritzemeier <clausjonathan.fritzemeier@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
1 2 3 4 5 | data(Ec_core)
l <- getReaction(Ec_core, j=1:3)
print(l)
m <- mergeReact2Modelorg(l)
print(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.