makeParamMatrixG: generic function which assigns values for Rtype or stoichiom...

Description Usage Arguments Value

View source: R/makeParamMatrixG.R

Description

generic function which assigns values for Rtype or stoichiom to an array of the same name array has form [group,resource,path] reads in data from MFG dataframes

Usage

1
2
makeParamMatrixG(microbeNames, parameterName, numPaths, resData,
  microbeMolarMass, resNames)

Arguments

microbeNames

Vector of strings which contains the names of the microbial groups in the system e.g. c('Bacteroides','Acetogens')

parameterName

Name of parameter (Rtype and stoichiom)

numPaths

Named vector. Number of paths for each microbial group

resData

sys info dataframe for resources

microbeMolarMass

Scalar. Molar mass of microbe e.g. 113g/mol

resNames

Vector of strings which contains the names of the resources in the system

Value

array of form: parameterName [gname,rname,pname]


HelenKettle/microPop documentation built on May 18, 2019, 9:15 p.m.