powered by
Adds a metabolite compartment to a model
The flow from the central compartment to the metabolite compartment will be unidirectional.
add_metabolite(model, drug_dvid = 1)
(Model) Pharmpy model object
(Model) Pharmpy model
(numeric) DVID for drug (assuming all other DVIDs being for metabolites)
if (FALSE) { model <- load_example_model("pheno") model <- add_metabolite(model) }
Run the code above in your browser using DataLab