Description Usage Arguments Value
View source: R/checkStoichiom.R
Checks whether the stoichiometries in each MFG conserve mass within a specified tolerance If they do not then if reBalanceStoichiom=TRUE the stoichiometry will be adjusted
1 2 | checkStoichiom(stoichiom, Rtype, microbeNames, numPaths, stoiTol,
reBalanceStoichiom = FALSE)
|
stoichiom |
Array. stoichiom[gname,R,path] |
Rtype |
Resource type |
microbeNames |
Vector of strings which contains the names of the microbial groups in the system e.g. c('Bacteroides','Acetogens') |
numPaths |
Named vector. Number of paths for each microbial group |
stoiTol |
Scalar. tolerance i.e. if abs(prod-up)>stoiTol then warnings are given |
reBalanceStoichiom |
Logical to turn off or on rebalancing |
new stoichiom matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.