reshapeFlowMat: reshapeFlowMat

Description Usage Arguments Value

View source: R/reshapeFlowMat.R

Description

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]

Usage

1
reshapeFlowMat(time.step, flow.direction, out)

Arguments

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

Value

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.


microPop documentation built on Feb. 3, 2022, 5:07 p.m.