Displaying 3 results from an estimated 3 matches for "rxn3".
Did you mean:
run3
2010 Jul 16
1
Creating symbolic expressions in R
...als that describe the rates of the reactions. I'm
running into trouble because R does not like doing numerical
operations on characters, but I need the rate to be in symbolic form.
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 symboli...
2009 Oct 08
3
odfWeave & XML error in post-processing
I've been happily building a file with odfWeave, and just as the hour
draws nigh for it to be sent off, odfWeave or XML throws the following
catastrophic error:
...this is the tail of entirely uneventful processing of input file.....
31 : term xml(label=LR_Fall_Model_Results)
32 : term verbatim(label=LR_Model_Fall_graph)
33 : term xml(label=LR_OMC_tab)
'content_1.xml' has
2010 Jul 21
0
Converting Between Character and Numeric Objects
...39;v') just like I want:
testS = matrix(c(-1, 0, 2, -1, -1, 0, 0, -1, -1, 1, 0, 0, 0, 1, 0),
nrow = 5,
ncol = 3,
byrow = TRUE)
rownames(testS) = c("met1", "met2", "met3", "met4", "met5")
colnames(testS) = c('rxn1', 'rxn2', 'rxn3')
v = makeMassActionFluxes(testS)
v
[1] "met1^1*met2^1" "met2^1*met3^1" "met3^1"
My next step is to use an ODE generating function to initialize values for
the met variables.
state = c(met1 = 10, met2 = 10, met3 = 10, met4 = 10, met5 = 10)
parameters = 1
ODE = f...