reshapeFlowMat {microPop} | R Documentation |
reshapes the flow matrices out$flow.uptake or out$flow.production into a list elements of the list are the microbeNames and then there is a matrix [path,res]
reshapeFlowMat(time.step, flow.direction, out)
time.step |
is the index of the chosen time |
flow.direction |
is either 'uptake' or 'production' |
out |
is the output from microPopModel with networkAnalysis=TRUE |
a list with microbeNames as elements and a matrix of [path,resource] showing the chosen flow direction (eg. uptake or production). Note theses flows have not been converted to moles.