Displaying 1 result from an estimated 1 matches for "raterxn1".
Did you mean:
raterxn2
2010 Jul 16
1
Creating symbolic expressions in R
...orm.
Below I've described an example.
The input is a matrix like this one, but a lot bigger:
rxn1 rxn2 rxn3
met1 -2 0 2
met2 -1 -1 0
met3 0 -1 -1
and the goal is to generate a vector of monomials representing the
rate of each reaction 1 - 3:
rateRxn1 = (met1)^2 * (met2)^1
rateRxn2 = (met2)^1 * (met3)^1
rateRxn3 = (met3)^1
The rates need to be represented symbolically for me to pass into the
ODE solver where the metabolites will be assigned starting values. I
tried using the functions "quote" and "substitute" but unfortunat...