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

Running simulations for a population with very heterogenous dosing #452

Closed
jgg1822 opened this issue Jan 30, 2020 · 5 comments
Closed

Running simulations for a population with very heterogenous dosing #452

jgg1822 opened this issue Jan 30, 2020 · 5 comments

Comments

@jgg1822
Copy link

jgg1822 commented Jan 30, 2020

Hello,

I have a data set with 500+ subjects that I would like to use to evaluate my PBPK model. However, each subject has a different dosing regimen. Is there any way to incorporate highly varied dosing without needing to create a new building block and new simulation for each of the 500+ subjects? I know batch mode can be useful for trying different values for a parameter, but is this the way to go if I need to run simulations with varying dose amounts and times?

Thank you!

@StephanSchaller
Copy link
Member

Hi Jgg, did you solve this?

You have the info on the dosing regimens in some format, excel? You can generate a dummy regimen in PK-Sim and then set the dosing with a loop in R and run your analysis there.

Let me know if you have additional questions.
Stephan

@jgg1822
Copy link
Author

jgg1822 commented May 8, 2020 via email

@StephanSchaller
Copy link
Member

Hi Jackie,

this is not released, yet. Best you use this: https://ci.appveyor.com/project/open-systems-pharmacology-ci/ospsuite-r/builds/31191104/artifacts

Best,
Stephan

@jgg1822
Copy link
Author

jgg1822 commented May 8, 2020 via email

@StephanSchaller
Copy link
Member

Yes, this can be done using scripting in R.
You just need the dosing info in a well structured database (excel file or csv or whatever).

You set up 40+ dummy doses with zero dose in PK-Sim and then set their actual timing and dose in R for each individual.

@Yuri05 Yuri05 added the answer label Aug 3, 2020
@Yuri05 Yuri05 closed this as completed Aug 3, 2020
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

3 participants