Calculation of half life

6 messages 6 people Latest: Mar 31, 2016

Calculation of half life

From: Santosh Date: March 30, 2016 technical
Dear all, I am looking for ways to calculate t[1/2,lamda,z] the elimination phase half life, using a 3-compartment model. ADVAN 12 and TRANS6 seems to be a way. However, I am using the intercompartment clearance and volumes based parameterization, e.g. Q3,V3 etc.. half.life = log(2)/gamma Could anyone please share NONMEM code to compute the half-life based on gamma? Thanks so much in advance. Best regards, Santosh

Re: Calculation of half life

From: Paolo Denti Date: March 30, 2016 technical
Dear Santosh, there are formulas to make the conversions, and I normally use the spreadsheet that you can download at this link: http://cognigencorp.com/nonmem/nm/CONVERT.XLS It is not very convenient If you want to do things in batches, but I guess you can do some "reverse engineering" and implement the code in NONMEM. I have done it for two-compartments, but I never needed it for three (which is a lot of coding). If you do work out the NONMEM code - or anyone else already has it - please post it here, it could be useful. Best regards, Paolo
Quoted reply history
On 2016/03/30 17:40, Santosh wrote: Dear all, I am looking for ways to calculate t[1/2,lamda,z] the elimination phase half life, using a 3-compartment model. ADVAN 12 and TRANS6 seems to be a way. However, I am using the intercompartment clearance and volumes based parameterization, e.g. Q3,V3 etc.. half.life = log(2)/gamma Could anyone please share NONMEM code to compute the half-life based on gamma? Thanks so much in advance. Best regards, Santosh -- ------------------------------------------------ Paolo Denti, PhD Pharmacometrics Group Division of Clinical Pharmacology Department of Medicine University of Cape Town K45 Old Main Building Groote Schuur Hospital Observatory, Cape Town 7925 South Africa phone: +27 21 404 7719 fax: +27 21 448 1989 email: [email protected]<mailto:[email protected]> ------------------------------------------------ Disclaimer - University of Cape Town This e-mail is subject to UCT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 9111. If this e-mail is not related to the business of UCT, it is sent by the sender in an individual capacity. Please report security incidents or abuse via [email protected]

RE: Calculation of half life

From: Stephen Duffull Date: March 30, 2016 technical
Santosh Perhaps a more pertinent question is – Why do you want to know half-life? Steve ………………………………………………………………………………………………………………………..……………………..……………………………………… Stephen Duffull I Professor of Clinical Pharmacy | Dean Otago Pharmacometrics Group New Zealand’s National School of Pharmacy | Te Kura Mātauraka Wai-whakaora University of Otago | Te Whare Wānanga o Otāgo Dunedin | Ōtepoti Ph: 64 3 479 5044 Website | http://www.pharmacometrics.co.nz/
Quoted reply history
From: [email protected] [mailto:[email protected]] On Behalf Of Santosh Sent: Thursday, 31 March 2016 4:41 a.m. To: [email protected] Subject: [NMusers] Calculation of half life Dear all, I am looking for ways to calculate t[1/2,lamda,z] the elimination phase half life, using a 3-compartment model. ADVAN 12 and TRANS6 seems to be a way. However, I am using the intercompartment clearance and volumes based parameterization, e.g. Q3,V3 etc.. half.life = log(2)/gamma Could anyone please share NONMEM code to compute the half-life based on gamma? Thanks so much in advance. Best regards, Santosh

RE: Calculation of half life

From: Pavel Belo Date: March 30, 2016 technical
You can add formulas to NONMEM code. All individual noncompartmental parameters can be calculated within NONMEM. An example of the NONMEM code is below. tH DADT(6) = A(8) ;calculates AUC if A is concentration DATD(8) = [put here the right part of the differential equation which calculates concentration] CONC=A(8) AUC =A(6) AUCT=A(12) IF (CONC.GT.1E-20) THEN LAM=-([put here the right part of the differential equation which calculates concentration]/CONC ELSE LAM=666666666 ENDIF IF (AUC.GT.1E-20) THEN MRT=AUCT/AUC ELSE MRT=666666666; ENDIF IF (AUC.GT.1E-20.AND.MWT.GE.0.000001) THEN CL =DKG*BIO/(AUC*MWT) ELSE CL =666666666 ENDIF VSS=MRT*CL IF (DABS(LAM).GT.1E-20) THEN IHL=0.693147/LAM ELSE LAM=666666666 IHL=666666666 ENDIF IF (DABS(LAM).GT.1E-10.AND.AUC.GE.1E-10) THEN VZ =DKG*BIO/(LAM*AUC*MWT) ELSE VZ =666666666 ENDIF AQ=1; BQ=K23+K32+KED; CQ=K32*KED; DQ=BQ**2-4*AQ*CQ; BET2=666666666 IF (DQ.GE.0) BET2=(-BQ+SQRT(DQ))/(2*AQ); BHLK= KED*(K32/(K32 + K23)) IF (BET2.LT.-1E-10) THEN BHL=-LOG(2)/BET2; ELSE BHL=666666666 ENDIF IF (DABS(A1).GE.1E10) A1=6666666 IF (DABS(A2).GE.1E10) A2=6666666 IF (DABS(A3).GE.1E10) A3=6666666 IF (DABS(A4).GE.1E10) A4=6666666 IF (DABS(A5).GE.1E10) A5=6666666 IF (DABS(IHL).GE.1E10) IHL=6666666 IF (DABS(MRT).GE.1E10) MRT=6666666 IF (DABS(CL).GE.1E10) CL=6666666 IF (DABS(VSS).GE.1E10) VSS=6666666 IF (DABS(LAM).GE.1E10) LAM=6666666 IF (DABS(VZ).GE.1E10) VZ=6666666 IF (DABS(BHL).GE.1E10) BHL=6666666 IF (DABS(BHLK).GE.1E10) BHLK=6666666
Quoted reply history
On Wed, Mar 30, 2016 at 11:40 AM, Santosh wrote: Dear all, I am looking for ways to calculate t[1/2,lamda,z] the elimination phase half life, using a 3-compartment model. ADVAN 12 and TRANS6 seems to be a way. However, I am using the intercompartment clearance and volumes based parameterization, e.g. Q3,V3 etc.. half.life = log(2)/gamma Could anyone please share NONMEM code to compute the half-life based on gamma? Thanks so much in advance. Best regards, Santosh

Re: Calculation of half life

From: Luann Date: March 30, 2016 technical
Santosh, There is an article that provides the equations that I think you are looking for. Calculating the hybrid (macro) rate constants of a three-compartment mamillary pharmacokinetic model from known micro-rate constants. Richard Upton Journal of Pharmacological and Toxicological Methods 49 (2004) pg. 65-68 Best regards, Luann Luann Phillips Director, Pharmacometrics Buffalo Office: +1-716-633-3463 ext. 236 | Website < http://www.cognigencorp.com > For news and events, follow us on: LinkedIn < https://www.linkedin.com/company/simulations-plus-inc > | Twitter < https://twitter.com/SimulationsPlus > | YouTube < https://www.youtube.com/channel/UCT4wMdIEnI95nlyLfRJY7Ww > | Facebook < https://www.facebook.com/SimulationsPlus/ > Join the GastroPlus™ User Group < https://www.linkedin.com/grps/GastroPlus-User-Group-5025927/about ?> to interact with peers around the world http://www.simulations-plus.com/Default.aspx
Quoted reply history
On Wed, Mar 30, 2016 at 11:40 AM, Santosh wrote: > Dear all, > I am looking for ways to calculate t[1/2,lamda,z] the elimination > phase half life, using a 3-compartment model. ADVAN 12 and TRANS6 > seems to be a way. However, I am using the intercompartment > clearance and volumes based parameterization, e.g. Q3,V3 etc.. > > half.life = log(2)/gamma > > Could anyone please share NONMEM code to compute the half-life > based on gamma? > > Thanks so much in advance. > > Best regards, > Santosh

RE: Calculation of half life

From: Ahmad Abu Helwa Date: March 31, 2016 technical
Hi Santosh: You can calculate half life for a 3-compartment model using the following R code example. This is based on the article published by Richard Upton Richard Upton Journal of Pharmacological and Toxicological Methods 49 (2004) pg. 65-68 #------------------------------------------------------------------- #Three compartment model CL <- 2 V1 <- 10 Q12 <- 0.5 V2 <- 30 Q13 <- 0.3 V3 <- 40 #Rate constant parameterization k10 <- CL/V1 k12 <- Q12/V1 k21 <- k12*V1/V2 k13 <- Q13/V1 k31 <- k13*V1/V3 #Half-lives j <- k12+k10+k21+k31+k13 k <- k12*k31+k10*k21+k10*k31+k21*k31+k13*k21 l <- k10*k21*k31 m <- (3*k - j^2)/3 n <- (2*j^3 - 9*j*k + 27*l)/27 Q <- (n^2)/4 + (m^3)/27 alpha <- sqrt(-1*Q) beta <- -1*n/2 rho <- sqrt(beta^2+alpha^2) theta <- atan2(alpha,beta) lambda1 <- j/3 + rho^(1/3)*(cos(theta/3) + sqrt(3)*sin(theta/3)) lambda2 <- j/3 + rho^(1/3)*(cos(theta/3) - sqrt(3)*sin(theta/3)) lambda3 <- j/3 -(2*rho^(1/3)*cos(theta/3)) thalf_alpha <- log(2)/lambda1 thalf_beta <- log(2)/lambda2 thalf_gamma <- log(2)/lambda3
Quoted reply history
From: [email protected] [mailto:[email protected]] On Behalf Of luann Sent: Thursday, 31 March 2016 4:19 AM To: Santosh <[email protected]> Cc: [email protected] Subject: Re: [NMusers] Calculation of half life Santosh, There is an article that provides the equations that I think you are looking for. Calculating the hybrid (macro) rate constants of a three-compartment mamillary pharmacokinetic model from known micro-rate constants. Richard Upton Journal of Pharmacological and Toxicological Methods 49 (2004) pg. 65-68 Best regards, Luann Luann Phillips Director, Pharmacometrics Buffalo Office: +1-716-633-3463 ext. 236 | http://www.cognigencorp.com For news and events, follow us on: https://www.linkedin.com/company/simulations-plus-inc | https://twitter.com/SimulationsPlus | https://www.youtube.com/channel/UCT4wMdIEnI95nlyLfRJY7Ww | https://www.facebook.com/SimulationsPlus/ Join the GastroPlus™ User https://www.linkedin.com/grps/GastroPlus-User-Group-5025927/about? to interact with peers around the world [cid:[email http://www.simulations-plus.com/Default.aspx On Wed, Mar 30, 2016 at 11:40 AM, Santosh wrote: Dear all, I am looking for ways to calculate t[1/2,lamda,z] the elimination phase half life, using a 3-compartment model. ADVAN 12 and TRANS6 seems to be a way. However, I am using the intercompartment clearance and volumes based parameterization, e.g. Q3,V3 etc.. half.life = log(2)/gamma Could anyone please share NONMEM code to compute the half-life based on gamma? Thanks so much in advance. Best regards, Santosh