Description Usage Arguments Author(s) See Also Examples
View source: R/getReactionsList.R
This function is based in printReaction function from sybil, it
extracts all reactions from a sybil model as a list of strings with the fromat:
"H2O[c] + Urea-1-carboxylate[c] <=> 2 CO2[c] + 2 NH3[c]"
Where arrows and plus signs are surrounded by a "space character".
It is also expected that stoichiometry coefficients are surrounded by spaces, (nothe the "2" before the CO2[c] or the NH3[c]).
It also expects arrows to be in the form "=>
" or "<=>
".
Meaning that arrows like "==>
", "<==>
", "-->
" or "->
" will not be parsed and will lead to errors.
1 | getReactionsList(object)
|
model |
A metabolic model in the form of "modelorg" class from sybil package |
Nicolas Mendoza Mejia <nimendozam@unal.edu.co>
additionCost
function documentation.
1 2 3 4 5 6 7 8 9 | ## Not run:
# Get the sybil model
library("sybil")
data("Ec_core")
# Extract reactions
react <- getReactionsList(Ec_core)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.