UUPharmacometrics / xpose4

Model building aid for population analysis using NONMEM
http://uupharmacometrics.github.io/xpose4/
GNU Lesser General Public License v3.0
34 stars 11 forks source link

The observation in the figure does not reflect the table #26

Open jeslo328 opened 6 months ago

jeslo328 commented 6 months ago

Hi In performing the diagnostic plot - i found the observation shown in the figure output is not same as the table obsevation. in the image below the observation shows to be in > 100 however in the table (output form xpdb) shows arounf 38.3 (max) for ID 3009. image

image

Please advise if im missing something

Jesmin

andrewhooker commented 6 months ago

Hi Jasmin,

Are you sure you are looking at the same data in the plot and the text output? From what you show the two certainly look different, but a working example is needed to figure out what is happening.

Best regards, Andy

jeslo328 commented 6 months ago

I think i am. the below are model file output and the code is below:

run700002.zip

---------------------

run.number <- "700002" # define the run.number is ...... xpdb <- xpose.data(run.number) # Object of the data

----------------------------------------------

using xpdb to plot out of xpose4

xpdb<-xpdb@Data xpdb write.csv(xpdb,'xpdb700002.csv')

----------------------------------------------

If xvardef changing is needed

change.xvardef(xpdb,var="idv")<- "OTIME" change.xvardef(xpdb,var="dv") <- "BLQCONNANO"

----------------------------------------------

runsum(xpdb)

Individual Plot

ind.plots(xpdb,logy=T,layout=c(3,2),subset="FORM==1 & DOSE==30",main="Dose=30 & co-admin (F1)") ind.plots(xpdb,logy=T,layout=c(3,2),subset="FORM==1 & DOSE==60",main="Dose=60 & co-admin (F1)") ind.plots(xpdb,logy=T,layout=c(3,2),subset="FORM==1 & DOSE==120",main="Dose=120 & co-admin (F1)") ind.plots(xpdb,logy=T,layout=c(3,2),subset="FORM==1 & DOSE==240",main="Dose=240 & co-admin (F1)")

ind.plots(xpdb,logy=T,layout=c(3,2),subset="FORM==2 & DOSE==30",main="Dose=30 & co-form (F2)") ind.plots(xpdb,logy=T,layout=c(3,2),subset="FORM==2 & DOSE==50",main="Dose=50 & co-form (F2)")