Skip to content

Commit

Permalink
Use non-model library for testing cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed May 16, 2024
1 parent a14325e commit 053b10e
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 4 deletions.
14 changes: 14 additions & 0 deletions inst/cov/bolus_1cpt_Vk.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
DESCRIPTION:
The administration is via a bolus.
The PK model has one compartment (volume V) and a linear elimination (elimination rate k).


[LONGITUDINAL]
input = {V, k}

PK:
; PK model definition
Cc = pkmodel(V, k)

OUTPUT:
output = Cc
14 changes: 14 additions & 0 deletions inst/cov/oral1_1cpt_TlagkaVCl.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
DESCRIPTION:
The administration is extravascular with a first order absorption (rate constant ka) and a lag time (Tlag).
The PK model has one compartment (volume V) and a linear elimination (clearance Cl).


[LONGITUDINAL]
input = {Tlag, ka, V, Cl}

PK:
; PK model definition
Cc = pkmodel(Tlag, ka, V, Cl)

OUTPUT:
output = Cc
2 changes: 1 addition & 1 deletion inst/cov/phenobarbital_project.mlxtran
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ k = {distribution=logNormal, typical=k_pop, sd=omega_k}
[LONGITUDINAL]
input = {b}

file = 'lib:bolus_1cpt_Vk.txt'
file = 'bolus_1cpt_Vk.txt'

DEFINITION:
CONC = {distribution=normal, prediction=Cc, errorModel=proportional(b)}
Expand Down
2 changes: 1 addition & 1 deletion inst/cov/warfarin_covariate1_project.mlxtran
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Cl = {distribution=logNormal, typical=Cl_pop, sd=omega_Cl}
[LONGITUDINAL]
input = {a, b}

file = 'lib:oral1_1cpt_TlagkaVCl.txt'
file = 'oral1_1cpt_TlagkaVCl.txt'

DEFINITION:
concentration = {distribution=normal, prediction=Cc, errorModel=combined1(a, b)}
Expand Down
2 changes: 1 addition & 1 deletion inst/cov/warfarin_covariate2_project.mlxtran
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Cl = {distribution=logNormal, typical=Cl_pop, covariate=lw70, coefficient=beta_C
[LONGITUDINAL]
input = {a, b}

file = 'lib:oral1_1cpt_TlagkaVCl.txt'
file = 'oral1_1cpt_TlagkaVCl.txt'

DEFINITION:
concentration = {distribution=normal, prediction=Cc, errorModel=combined1(a, b)}
Expand Down
2 changes: 1 addition & 1 deletion inst/cov/warfarin_covariate3_project.mlxtran
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Cl = {distribution=logNormal, typical=Cl_pop, covariate=tSex, coefficient={beta_
[LONGITUDINAL]
input = {a, b}

file = 'lib:oral1_1cpt_TlagkaVCl.txt'
file = 'oral1_1cpt_TlagkaVCl.txt'

DEFINITION:
concentration = {distribution=normal, prediction=Cc, errorModel=combined1(a, b)}
Expand Down

0 comments on commit 053b10e

Please sign in to comment.