Description Usage Arguments Value
View source: R/makeParamMatrixS.R
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]).
1 2 | makeParamMatrixS(resNames, microbeNames, parameterName, numPaths, numStrains,
strainOptions, oneStrainRandomParams)
|
resNames |
Vector of strings which contains the names of the resources in the system |
microbeNames |
Vector of strings which contains the names of the microbial groups in the system e.g. c('Bacteroides','Acetogens') |
parameterName |
Name of parameter |
numPaths |
Named vector. Number of paths for each microbial group |
numStrains |
Scalar. Number of strains per group |
strainOptions |
List of strain options |
oneStrainRandomParams |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.