Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upper limit of quantification plots with Xpose.vpc.both #21

Open
SimonKoele opened this issue Dec 8, 2021 · 2 comments
Open

Upper limit of quantification plots with Xpose.vpc.both #21

SimonKoele opened this issue Dec 8, 2021 · 2 comments

Comments

@SimonKoele
Copy link

Dear all,

Recently I was making a model of data that had LLOQ and ULOQ data present.
Using the Xpose.vpc.both function I generated VPC plots, however the categorical subplot shows no data when plotting ULOQ data (see example below).
image

The function works fine when using LLOQ data.
I investigated the code of the function and found that the following part of the code still selects the LLOQ output table when ULOQ is present/selected:

for (LEVS in 1:n.levs) {
ret.new[(1 + (LEVS - 1) * n.idv.levs):(n.idv.levs *
LEVS), 1:5] <- tmp.table.2[, c(idv.index, real.index[[LEVS]],
lower.index[[LEVS]], median.index[[LEVS]], upper.index[[LEVS]])]
ret.new[(1 + (LEVS - 1) * n.idv.levs):(n.idv.levs *
LEVS), "by.var"] <- level.names[LEVS]
}

Therefore it presents the user with an empty table. For now I have created a new function that selects the right table columns to subset from to generate the plots, which does work.
I'm using xpose4_4.7.0 in R version 3.6.2.
Does anyone else have this problem?

Kind regards,
Simon Koele
Radboudumc Pharmacometrics

@andrewhooker
Copy link
Collaborator

andrewhooker commented Dec 9, 2021 via email

@mariewijk
Copy link

Dear Andrew,

I am having the same issue as Simon with trying to generate a VPC using xpose.vpc.both with ULOQ data. It gives the same empty ULOQ panel shown above.

Did you ever tend to this matter?

Best regards,
Marie Wijk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants