convertFlowsToMoles: convertFlowsToMoles
Description
convert network flows from mass to moles
Usage
convertFlowsToMoles(allStrainNames, flow, molarMass)
Arguments
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