makeParamMatrixG function

generic function which assigns values for Rtype or stoichiom to an array of the same name array has form [group,resource,path] reads in data from MFG dataframes

generic function which assigns values for Rtype or stoichiom to an array of the same name array has form [group,resource,path] reads in data from MFG dataframes

makeParamMatrixG( microbeNames, parameterName, numPaths, resData, microbeMolarMass, resNames )

Arguments

  • microbeNames: Vector of strings which contains the names of the microbial groups in the system e.g. c('Bacteroides','Acetogens')
  • parameterName: Name of parameter (Rtype and stoichiom)
  • numPaths: Named vector. Number of paths for each microbial group
  • resData: sys info dataframe for resources
  • microbeMolarMass: Scalar. Molar mass of microbe e.g. 113g/mol
  • resNames: Vector of strings which contains the names of the resources in the system

Returns

array of form: parameterName [gname,rname,pname]