Description Usage Arguments Value Examples
This function prints out info about mode: model name, number of reactions and their types, number of species, and number of ODEs required to represent the model. It also allows users to print detailed info about each of the reactions, species, reaction rates, parameters, rules, and model equations.
1 |
x |
a model name |
allDetails |
a flag that specify whether the user wants short or long description of the model (flag set to FALSE). |
Textual summary
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | exmp <- newModel("This is an example of a new model")
addMAreaction(exmp, react="A = null", "rf", "rb")
addMAreaction(exmp, react="A + B -> 2*AB", "k", name="Forward AB")
addMAreaction(exmp, react="AB -> null", "rAB")
addMAreactRate(exmp, "rf", "fixed", "1")
addMAreactRate(exmp, "rb", "fixed", "0.75")
addMAreactRate(exmp, "k", "fixed", "0.5")
addMAreactRate(exmp, "rAB", "assigned", "p1*A")
addParameters(exmp, "p1", 0.75)
addSpecies(exmp, "A", 10)
addSpecies(exmp, "B", 10)
addSpecies(exmp, "AB", 0)
addRule(exmp, "rule B", "ODEs", "B=-0.1*AB")
makeModel(exmp)
printInfo(exmp)
printInfo(exmp, allDetails=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.