combinePathsFuncDefault function

Combine microbial growth on different pathways by one microbe

Combine microbial growth on different pathways by one microbe

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.

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')

Returns

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