Age | Commit message (Collapse) | Author | Files | Lines |
|
The motivation for this is to obtain confidence intervals for
covariate dependent parameters that are valid for a median/mean
value of the covariate.
Implementation by adding an argument to the 'saem' function, and
adapting the relevant functions working with 'saem' objects.
Vignettes, the template and tests were updated to use the new functionality.
|
|
In case one of the fits failed, the corresponding entry in `aic_parent`
is `NA`, so we need to tell the `min()` function to ignore `NA` values
instead of returning and empty result.
|
|
Thanks to Janina Wöltjen for pointing it out
|
|
|
|
It seems that we cannot use stored DLLs (for pathway fits) on clusters
when using Windows, where we use PSOCK clusters. Although it works on
winbuilder in the tests in tests/testthat/test_compiled.R.
Maybe it is something RStudio specific.
|
|
Also, using mkin analytical solutions for more than one observed
variable is not supported (but could be if out_values would be
reordered).
|
|
We still need to create a parallel processing cluster _after_ creating a
compiled model that is moved to a user defined location, at least I did
not find another way to make it work. This is not a problem with
parallel processing without a cluster, which is not available on
Windows.
|
|
|
|
|
|
Now with working pathway fits using SFORB-SFO2 (only two parallel
metabolites instead of three) as the data for compound Ia was not
sufficient for a reliable fit.
|
|
|
|
Instead of rmarkdown::pdf_document, mkin::hierarchical_kinetics is used
as a document format in the template. In this way, the template file can
be freed from some R code and yaml options that the average user does
not have to be aware of.
|