checkStoichiom {microPop} | R Documentation |
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
Description
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
Usage
checkStoichiom(
stoichiom,
Rtype,
microbeNames,
numPaths,
stoiTol,
reBalanceStoichiom = FALSE
)
Arguments
stoichiom |
Array. stoichiom[gname,R,path] |
Rtype |
Resource type matrix[gname, res.name, path.name] |
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 |
Value
new stoichiom matrix
[Package microPop version 1.6 Index]