Displaying 1 result from an estimated 1 matches for "stoichiometrix".
Did you mean:
stoichiometric
2010 Jul 21
0
Converting Between Character and Numeric Objects
...elationships:
makeMassActionFluxes = function(sMatrix) {
#Allocate a matrix with identical dimensions as the inputted stoichiometric
matrix
temp = matrix(nrow = dim(sMatrix)[1], ncol = dim(sMatrix)[2])
velocities = vector(length = dim(sMatrix)[2])
## This series of 'for' loops scans the stoichiometrix matrix looking for
negative integers.
## Once it identifies a negative integer it pulls the row name and
exponentiates it to the
## appropriate stoichiometry, creating the flux expression.
for (i in 1:dim(sMatrix)[1]) {
for (j in 1:dim(sMatrix)[2]) {
if (sMatrix[i, j] >= 0) (temp[i, j] = NA)...