Back to the Top
Hi,
I have a question about table generated in NONMEM. I am asking about PATAB. In the patab TABLE, as
you can see there are more than 1 row for each ID with similar parameter values. I am wondering if
there is a way to get for each ID only one parameter value as a single row. Here I am attaching
control stream along with sample table output.
Thanks,
Suresh
$PROBLEM run9.mod Anti-mAb antibody
$INPUT C TIME DAY_TIME CONC ID SEX ANALYTE AMT SPECIES MDV EVID DOSE CMT ADDL II STATUS WEIGHT ROUTE
MATRIX ATYPE YTYPE ADA DV
$DATA LNDV.csv IGNORE="C"
$SUBROUTINES ADVAN8 TOL=8
$MODEL
COMP=(CENTRAL)
COMP=(PERIPHAL)
$PK
CL = THETA(1)*EXP(ETA(1)); L/hr/kg
V1 = THETA(2)*EXP(ETA(2)); L/kg
Q = THETA(3); L/hr/kg
V2 = THETA(4); L/kg
VMAX = THETA(5)*EXP(ETA(3)); ug/hr/kg
KM = THETA(6); ug/L
KEL = CL/V1
K12 = Q/V1
K21 = Q/V2
$DES
DADT(1) = -(KEL+K12)*A(1)-VMAX*A(1)/((KM*V1)+A(1))+K21*A(2)
DADT(2) = K12*A(1)-K21*A(2) ;TISSUE COMPARTMENT
$ERROR
CFR = A(1)/V1
IPRD = CFR
IF(IPRD.LE.0) IPRD = 0.001; Set some valueIPRE = LOG(IPRD)
IRES = DV - IPRE
W = THETA(7); RESIDUAL ERROR
IWRE = IRES/W
Y = IPRE+W*ERR(1)
$THETA (0,0.0001) ;CL ;1
$THETA (0,0.04) ;V1 ;2
$THETA (0,0.0005) ;Q ;3
$THETA (0,0.04) ;V2 ;4
$THETA (0,6) ;Vmax ;5
$THETA (0,10000) ;Km ;6
$THETA (0,0.35) ;W ;7
$OMEGA 0.05 ;IIV_CL ;1
$OMEGA 0.1 ;IIV_V1 ;2
$OMEGA 0.1 ;IIV_VMAX ;3
$SIGMA 1 FIX ;ResFixed
$ESTIMATION FILE=run9.ext
METHOD=1 PRINT=5 MAXEVAL=9999 NOABORT SIG = 3 POSTHOC INTER MSFO = MSFO.OUTPUTFILE
$COV COMP
$TAB ID DOSE TIME DV IWRE IPRE CWRES PRED ONEHEADER NOPRINT FILE = sdtab9
$TAB ID SPECIES DRUG BWT CL V1 Q V2 VMAX KM W ETA1 ETA2 ETA3 ONEHEADER NOPRINT
FILE = patab9
TABLE NO. 2
ID ANALYTE SPECIES BWT CL V1 Q V2 VMAX
KM W ETA1 ETA2 ETA3
2.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1187E-04 4.0364E-02 6.7638E-04 2.4016E-02
3.0348E+00 3.8624E+02 7.1776E-02 -9.2472E-04 -4.0806E-02 -2.0570E-01
2.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1187E-04 4.0364E-02 6.7638E-04 2.4016E-02
3.0348E+00 3.8624E+02 7.1776E-02 -9.2472E-04 -4.0806E-02 -2.0570E-01
2.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1187E-04 4.0364E-02 6.7638E-04 2.4016E-02
3.0348E+00 3.8624E+02 7.1776E-02 -9.2472E-04 -4.0806E-02 -2.0570E-01
2.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1187E-04 4.0364E-02 6.7638E-04 2.4016E-02
3.0348E+00 3.8624E+02 7.1776E-02 -9.2472E-04 -4.0806E-02 -2.0570E-01
2.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1187E-04 4.0364E-02 6.7638E-04 2.4016E-02
3.0348E+00 3.8624E+02 7.1776E-02 -9.2472E-04 -4.0806E-02 -2.0570E-01
2.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1187E-04 4.0364E-02 6.7638E-04 2.4016E-02
3.0348E+00 3.8624E+02 7.1776E-02 -9.2472E-04 -4.0806E-02 -2.0570E-01
7.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1195E-04 4.8032E-02 6.7638E-04 2.4016E-02
3.4449E+00 3.8624E+02 7.1776E-02 -2.2906E-04 1.3314E-01 -7.8963E-02
7.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1195E-04 4.8032E-02 6.7638E-04 2.4016E-02
3.4449E+00 3.8624E+02 7.1776E-02 -2.2906E-04 1.3314E-01 -7.8963E-02
7.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1195E-04 4.8032E-02 6.7638E-04 2.4016E-02
3.4449E+00 3.8624E+02 7.1776E-02 -2.2906E-04 1.3314E-01 -7.8963E-02
7.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1195E-04 4.8032E-02 6.7638E-04 2.4016E-02
3.4449E+00 3.8624E+02 7.1776E-02 -2.2906E-04 1.3314E-01 -7.8963E-02
7.0000E+00 4.8401E+06 0.0000E+00 4.0000E+00 1.1195E-04 4.8032E-02 6.7638E-04 2.4016E-02
3.4449E+00 3.8624E+02 7.1776E-02 -2.2906E-04 1.3314E-01 -7.8963E-02
Back to the Top
Yes, add FIRSTONLY to the $TABLE line.
Coen
Back to the Top
Hi Suresh,
Just add FIRSTONLY to your $TAB entry like:
$TAB ID SPECIES DRUG BWT CL V1 Q V2 VMAX KM W ETA1 ETA2
ETA3 ONEHEADER NOPRINT FIRSTONLY FILE = patab9
Also FYI, this type of question is often better suited for the NMUSERS
mailing list.
Have a good day,
Bill
PharmPK Discussion List Archive Index page |
Copyright 1995-2014 David W. A. Bourne (david@boomer.org)