Description Usage Arguments Details Value Author(s) See Also Examples
The function checkReactId
evaluates a vector of reaction id's
if they are unique and appear in a given model.
1 | checkReactId(model, react)
|
model |
A model. An object of class
|
react |
Character vector containing reaction id's, or a numerical vector containing indices of reaction id's. |
If argument react
is numeric, the maximun value will be
inspected, if it is larger than the number of reactions in the model.
In case of a character vector, react
is matched to the reaction
id's residing in the model. If they are not found, grep is used.
If argument react
is of class reactId
, it will
be returned without checking.
An object of class reactId
or NULL
if argument
react
contains any reactions not in model
.
Gabriel Gelius-Dietrich <geliudie@uni-duesseldorf.de>
Maintainer: Mayo Roettger <mayo.roettger@hhu.de>
1 2 3 4 5 6 7 8 9 | data(Ec_core)
## Example with react as character vector
ids <- c("ATPM", "ACK")
idc <- checkReactId(Ec_core, ids)
## Example with react as numerical vector
ids <- c(1:4)
idc <- checkReactId(Ec_core, ids)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.