Open AMHGeorgetown opened 3 years ago
Hi - thanks for your interest. I'm not really sure what you're referring to. Do you mind providing a bit more context and possibly an example of what you're looking for?
I think you would have to extract the mrgsolve
equations which are not formulas; It is similar to:
It appears very similar to #52 - nlmixr uses ODE's (I think) as well. MRG solve uses LSODA ODE solver for Pharmacokinetic applications. In the world of PBPK, it would be very helpful to be able to extract the systems of equations in a "pretty" format for publications.
It sounds like its not general enough to be able to handle this. But this package looks great...why I was so excited!
Thanks for the comment. I am always open to new ideas for enhancements and new developments, including building something that works generally across these. With that said, however, I know next to nothing about what we're talking about here and would need some more guidance. An example model, and what the output should look like, would be really helpful.
My highest priority is currently implementing mixed effects/multilevel models (e.g., see #107), but I'd be happy to put this on the list of future development priorities. I just need more context/examples to help me understand how it should be implemented.
I can give you details for RxODE
and nlmixr
, but I will wait until they don't require python to run, since it isn't your first priority.
For nlmixr
and RxODE
models, the ODEs can be extracted as text (w/Leibnetz notation) as well as the mixed effects, but I think you are referring to linear mixed effects models here.
Yes, I'm currently working on linear mixed effects models via lme4
. It's possible some of that code could transfer.
I'm hopeful; Thanks for entertaining this.
Would this be able to pull large ODEs from model objects? In particular, ones used in the MRGsolve package?