sumConcOverStrains function

sumConcOverStrains

sumConcOverStrains

sum concentration of each strain into the group it is in

sumConcOverStrains( concentration.orig, allStrainNames, groupNames, resourceNames )

Arguments

  • concentration.orig: the row of out$solution at the required time point
  • allStrainNames: is a vector containing the names of the microbial strains (strings)
  • groupNames: is a vector containing the names of the microbial groups (strings)
  • resourceNames: is a vector of strings containing the names of all the resources