Skip to contents

Removes the metabolite compartment and the parameters added by addMetabolite(). Only the terminal metabolite this function builds is removed; the parent model is left as it was.

Usage

removeMetabolite(
  ui,
  metab = "metab",
  clm = "clm",
  vm = "vmc",
  fm = "fm",
  concentration = "Cm",
  model
)

Arguments

ui

The model as a function (or something convertible to an rxUi object)

metab

name of the metabolite compartment

clm

metabolite clearance variable

vm

metabolite volume variable

fm

fraction of the parent elimination that forms the metabolite

concentration

metabolite concentration variable name

model

Deprecated alias for ui. Supplying model instead of ui still works but emits a deprecation warning.

Value

a model without the metabolite compartment

See also

Other Metabolite building blocks: addMetabolite()

Author

Matthew L. Fidler