combinePathsFuncDefault {microPop}R Documentation

Combine microbial growth on different pathways by one microbe

Description

Returns a vector specifying the fraction of the total microbial growth on each pathway. This function is needed to ensure that groups which have the most paths do not automatically have the most growth - i.e. need to weight the growth on each pathway.

Usage

combinePathsFuncDefault(
  strainName,
  groupName,
  growthRate,
  num.paths,
  pathNames
)

Arguments

strainName

Name of the strain that is being looped through in the ODE solver

groupName

Name of microbial group that is being looped through in the ODE solver

growthRate

(vector) microbial growth rate (mass per unit time) on each pathway

num.paths

(integer) is the number of paths for the given strain

pathNames

Vector of names of all metabolic paths e.g. c('path1','path2')

Value

vector specifying the fraction of the total microbial growth on each pathway


[Package microPop version 1.6 Index]