diff --git a/man/addReact.Rd b/man/addReact.Rd index 3d61be35f9eefa3c10f7f8192b06027f374b9b1b..8f286da4114ac80efb1846a1914f09c74105f9a4 100644 --- a/man/addReact.Rd +++ b/man/addReact.Rd @@ -114,6 +114,16 @@ \code{\linkS4class{modelorg_irrev}}. } +\examples{ +data(Ec_core) + +# add reaction A + 2 B <-> C to the model +modelNew <- addReact(Ec_core, id="newReact", met=c("A", "B", "C"), Scoef=c(-1, -2, 1), reversible=TRUE, lb=-1000, ub=1000, obj=0) + +# view the new reaction +shrinkMatrix(modelNew, j="newReact") +} + \references{ Becker, S. A., Feist, A. M., Mo, M. L., Hannum, G., Palsson, B. Ø. and Herrgard, M. J. (2007) Quantitative prediction of cellular metabolism with