checkStoichiom: Checks whether the stoichiometries in each MFG conserve mass...

Description Usage Arguments Value

View source: R/checkStoichiom.R

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

1
2
checkStoichiom(stoichiom, Rtype, microbeNames, numPaths, stoiTol,
  reBalanceStoichiom = FALSE)

Arguments

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

Value

new stoichiom matrix


HelenKettle/microPop documentation built on May 18, 2019, 9:15 p.m.