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

Missing line of identity in predicted vs observed #650

Open
wilbertdew opened this issue Aug 14, 2019 · 9 comments
Open

Missing line of identity in predicted vs observed #650

wilbertdew opened this issue Aug 14, 2019 · 9 comments

Comments

@wilbertdew
Copy link

Hi All,

Sometimes, the line of identity does not show up in my predicted vs observed plot, anyone recognize this issue? When I add symbols to this line, I only see one upper right symbol. In the legend, I do see a dashed line for identity. Disabling side margins does not help.
Any help would be appreciated.

P.S. In this plot, Predicted is on the y-axis and observed on the x-axis, while I believe it should be the other way around. I could not find the option to change this, is this available? Could the default be changed or is there disagreement on which one should be on the y-axis?

@tobiasK2001
Copy link
Member

Dear wilbertdew,

I never came across this. Which PK-sim version do you use? Is it possible to attach an example were ist shows up?

regarding Predicted vs Observed plot: as it is a y/x plot for me it would be OK for me to have the predicted on the y axis. I don't think there is a way to change it.

@wilbertdew
Copy link
Author

Hi @tobiasK2001 ,

See for an example below. I have set the identity line to dash and symbols to diamond, but changing this doesn't help. Thanks for your help.
image

@wilbertdew
Copy link
Author

Found the issue, there are a few BLQ data points coded as -1 in the observed data. This cannot be displayed on log scale of course and I should remove these before parameter identification. On linear scale I do see the line of identity.

@StephanSchaller
Copy link
Member

Great find. Even then, the line of identity should not disappear. Can you report this within the PKSim Repository (PKSim-Forum) as a bug?

@Yuri05
Copy link
Member

Yuri05 commented Aug 16, 2019

@wilbertdew Having negative valus in observed data will cause a lot of trouble anyway.
Please refer to the OSP documentation for:

@wilbertdew
Copy link
Author

Thank you @Yuri05!
@StephanSchaller, I have just made an issue on the PKSim Repository.

@wilbertdew
Copy link
Author

Problem solved by removing data points with negative values.
However, now my parameter identification throws an error, after which I cannot reopen the parameter identification. Everything runs as normal, I get results and diagnostics plot but at some point I get this error, which only happen with the dataset from which I removed some timepoints. Any ideas what is causing this? I already tried rebuilding the parameter identification from scratch.

image

@wilbertdew
Copy link
Author

The last problem seems to be resolved by removing those individuals who had no data points left after removing the BLQ data points.

@msevestre msevestre transferred this issue from Open-Systems-Pharmacology/Forum Oct 11, 2019
@msevestre
Copy link
Member

This is a bug in the charting component

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

No branches or pull requests

5 participants