search for: met2

Displaying 3 results from an estimated 3 matches for "met2".

Did you mean: met
2010 Jul 21
0
Converting Between Character and Numeric Objects
...k], fixed = TRUE) } return(velocities) } If I pass in the following example matrix, I get a list of flux expressions ('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 initia...
2010 Jul 16
1
Creating symbolic expressions in R
...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 symbolically for me to pass into the O...
2009 Nov 04
2
PCA with tow response variables
Hi all, I'm new to PCA in R, so this might be a basical thing, but I cannot find anything on the net about it. I need to make a PCA plot with two response variables (df$resp1 and df$resp2) against eight metabolites (df$met1, df$met2, ...) and I don't have a clue how to do... and I've only used the simplest PCAs before, like this: pcaObj=prcomp(t(df[idx, c(40:47)])) biplot(pcaObj) Anyone who knows how to do? Best rageds, Joel _________________________________________________________________...