Skip to contents

Dilutes all or selected compounds with a given dilution factor.

Usage

dilute_compounds(
  object,
  dilution.factor,
  compounds = NULL,
  incl.constant = FALSE
)

Arguments

object

A growthSimulation object

dilution.factor

Numeric within the range of [0,1], by which the compound concentrations are diluted. `1` completely dilutes concentrations to 0 mM, while `0` does not change anything.

compounds

Character of compound IDs that should be diluted. If `NULL`, all compounds are diluted.

incl.constant

Logical specifying whether also constant compounds should be diluted. Default: FALSE