Maps a simulation output quantity to a target PK parameter for use
in ParameterIdentification optimization.
Active bindings
quantityThe
Quantityobject from the simulation. Read-only.simIdID of the root simulation container. Read-only.
pkParameterName of the PK parameter to target. Must be one of
ospsuite::StandardPKParameter.targetValueInBaseUnitTarget value in base units. Computed from
targetValueandtargetUnit. Read-only.targetValueNumeric target value in units of
targetUnit. RecomputestargetValueInBaseUniton assignment.targetUnitUnit string for
targetValue. Must be compatible with the PK parameter's dimension. RecomputestargetValueInBaseUniton assignment.
Methods
PKOutputMapping$new()
Initialize a new PKOutputMapping.
Usage
PKOutputMapping$new(quantity, pkParameter, targetValue, targetUnit)Arguments
quantityAn ospsuite
Quantityobject from the simulation whose PK profile will be analyzed.pkParameterCharacter string specifying the PK parameter to target. Must be one of
ospsuite::StandardPKParameter(e.g.,"C_max","AUC_tEnd").targetValueNumeric scalar target value in units of
targetUnit.targetUnitCharacter string specifying the unit of
targetValue. Must be dimensionally compatible withpkParameter.
Examples
sim <- ospsuite::loadSimulation("model.pkml")
quantity <- ospsuite::getQuantity(
"Organism|PeripheralVenousBlood|Drug|Plasma (Peripheral Venous Blood)",
container = sim
)
mapping <- PKOutputMapping$new(
quantity = quantity,
pkParameter = "C_max",
targetValue = 500,
targetUnit = "nmol/l"
)Examples
## ------------------------------------------------
## Method `PKOutputMapping$new()`
## ------------------------------------------------
if (FALSE) { # \dontrun{
sim <- ospsuite::loadSimulation("model.pkml")
quantity <- ospsuite::getQuantity(
"Organism|PeripheralVenousBlood|Drug|Plasma (Peripheral Venous Blood)",
container = sim
)
mapping <- PKOutputMapping$new(
quantity = quantity,
pkParameter = "C_max",
targetValue = 500,
targetUnit = "nmol/l"
)
} # }