Description Usage Arguments Value
View source: R/reshapeFlowMat.R
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]
1 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.