Skip to content
Snippets Groups Projects
Commit a76360cb authored by Claus Jonathan Fritzemeier's avatar Claus Jonathan Fritzemeier
Browse files

added example in man/addReact.Rd

parent 607d06be
No related branches found
No related tags found
No related merge requests found
...@@ -114,6 +114,16 @@ ...@@ -114,6 +114,16 @@
\code{\linkS4class{modelorg_irrev}}. \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{ \references{
Becker, S. A., Feist, A. M., Mo, M. L., Hannum, G., Palsson, B. Ø. and Becker, S. A., Feist, A. M., Mo, M. L., Hannum, G., Palsson, B. Ø. and
Herrgard, M. J. (2007) Quantitative prediction of cellular metabolism with Herrgard, M. J. (2007) Quantitative prediction of cellular metabolism with
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment