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
checkStoichiom(
stoichiom,
Rtype,
microbeNames,
numPaths,
stoiTol,
reBalanceStoichiom = FALSE
)Array. stoichiom[gname,R,path]
Resource type matrix[gname, res.name, path.name]
Vector of strings which contains the names of the microbial groups in the system e.g. c('Bacteroides','Acetogens')
Named vector. Number of paths for each microbial group
Scalar. tolerance i.e. if abs(prod-up)>stoiTol then warnings are given
Logical to turn off or on rebalancing
new stoichiom matrix