convertFlowsToMoles {microPop} | R Documentation |
convert network flows from mass to moles
convertFlowsToMoles(allStrainNames, flow, molarMass)
allStrainNames |
is a vector containing the names of the microbes (strings) |
flow |
is the list output from reshapeFlowMat() |
molarMass |
is a named vector containing the molar mass for each resource e.g. out$parms$molarMass |