Gets parameter values for parameters halfSat, yield and maxGrowthRate from the MFGs and puts into a matrix also assigns strain traits since traits are assigned to all strains at once for one param they are stored in Mat[strain,res,path], this is then rearranged to make a matrix for each strain (mat[path,res]).
makeParamMatrixS(
resNames,
microbeNames,
parameterName,
numPaths,
numStrains,
strainOptions,
oneStrainRandomParams
)Vector of strings which contains the names of the resources in the system
Vector of strings which contains the names of the microbial groups in the system e.g. c('Bacteroides','Acetogens')
Name of parameter
Named vector. Number of paths for each microbial group
Integer or named vector of integers. Number of strains per group
List of strain options
Logical. TRUE for randomized params even if there is only one strain.
A list called parameterName which contains matrices for all strains (in all groups) with paths on rows and resources on columns