Displaying 1 result from an estimated 1 matches for "makemassactionflux".
Did you mean:
makemassactionfluxes
2010 Jul 21
0
Converting Between Character and Numeric Objects
Hello,
I'm trying to convert a vector of string objects to a numeric object by
initializing the variables with values. I use the function below to scan
through a matrix and create mass action flux relationships:
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...