has_presystemic_metabolite function

has_presystemic_metabolite

has_presystemic_metabolite

Checks whether a model has a presystemic metabolite

If pre-systemic drug there will be a flow from DEPOT to METABOLITE as well as being a flow from the CENTRAL to METABOLITE

has_presystemic_metabolite(model)

Arguments

  • model: (Model) Pharmpy model

Returns

(logical) Whether a model has presystemic metabolite

Examples

## Not run: model <- load_example_model("pheno") model <- add_metabolite(model, presystemic=TRUE) has_presystemic_metabolite(model) ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04