Dear All,
It was nice meeting some of you at the PAGE in Lisbon last week.
I have a PK-PD tumor growth inhibition model written in PML. I am exploring the capabilites of the graphical mode, and I tried to make it using the compartments and connecters available. The PK part is easy, but i am not able to find out how to use the comparments and flow connectors to make my tumor growht inhibition model. Do you have any idea if this is possible, and how I may achieve it?
Best,
Joao
Here is the model text:
test(){
#PK
deriv(A1 = - Cl * C - Cl2 * (C - C2))
deriv(A2 = Cl2 * (C - C2))
dosepoint(A1)
C = A1 / V
C2 = A2 / V2
error(CEps = 0.1)
observe(CObs = C*(1 + CEps))
#PD
deriv(Tumor = growth*Tumor-kill0*exp(-res*t)*C*Tumor) #Tumor growth inhibition model
error(EEps = 0.1)
observe(EObs = Tumor*(1 + EEps))
sequence{Tumor = 100} #Baseline Tumor
#Parameters
#PK
stparm(V = tvV * exp(nV))
stparm(V2 = tvV2 * exp(nV2))
stparm(Cl = tvCl * exp(nCl))
stparm(Cl2 = tvCl2 * exp(nCl2))
#PD
stparm(growth = tvgrowth * exp(ngrowth)) #tumor growth
stparm(kill0 = tvkill0 * exp(nkill0)) #tumor kill
stparm(res = tvres * exp(nres))#treatment resistance
#PK
fixef(tvV = c(, 3, )) #L
fixef(tvV2 = c(, 3, ))#L
fixef(tvCl = c(, 0.1, ))#L/day
fixef(tvCl2 = c(, 1, )) #L/day
#PD
fixef(tvgrowth = c(, 5e-4, )) #1/day
fixef(tvkill0 = c(, 5e-5, )) #mL*ug-1*day-1
fixef(tvres = c(, 5e-4, )) #1/day
#random effects
ranef(diag(nV2, nCl2, nCl, nV,ngrowth,nkill0,nres) = c(0.2, 0.2, 0.3, 0.1,0.2,1,1))
}