From 78d34a8918edcb91982a3886e4898a63898f52c3 Mon Sep 17 00:00:00 2001
From: Johannes Ranke Johannes
Ranke
- Last change on 6 January
-2023, last compiled on 16 April 2023
+ Last change on 20 April 2023,
+last compiled on 20 April 2023
Source: vignettes/prebuilt/2022_cyan_pathway.rmd
2022_cyan_pathway.rmd
The mkin package is used in version 1.2.3 which is currently under +
The mkin package is used in version 1.2.4 which is currently under
development. The newly introduced functionality that is used here is a
simplification of excluding random effects for a set of fits based on a
related set of fits with a reduced model, and the documentation of the
@@ -174,11 +174,19 @@ processing, the parallel
package is used.
+stopCluster(cl)
mkinmod
models is set up below. As in the EU evaluation,
parallel formation of metabolites JCZ38 and J9Z38 and secondary
formation of metabolite JSE76 from JCZ38 is used.
-++) +cl_path_1 <- start_cluster(n_cores)if (!dir.exists("cyan_dlls")) dir.create("cyan_dlls") cyan_path_1 <- list( sfo_path_1 = mkinmod( @@ -1411,15 +1421,16 @@ formation of metabolite JSE76 from JCZ38 is used. J9Z38 = mkinsub("SFO"), JSE76 = mkinsub("SFO"), quiet = TRUE, name = "hs_path_1", dll_dir = "cyan_dlls", overwrite = TRUE) -)
To obtain suitable starting values for the NLHM fits, separate pathway fits are performed for all datasets.
-+
+
The model comparison below suggests that the pathway fits using DFOP or SFORB for the parent compound provide the best fit.
-+
For these two parent model, successful fits are shown below. Plots of the fits with the other parent models are shown in the Appendix.
-+plot(f_saem_1[["dfop_path_1", "tc"]])
--+
DFOP pathway fit with two-component error
+plot(f_saem_1[["sforb_path_1", "tc"]])
-+
SFORB pathway fit with two-component error
A closer graphical analysis of these Figures shows that the residues of transformation product JCZ38 in the soils Tama and Nambsheim observed at later time points are strongly and systematically underestimated.
++stopCluster(cl_path_1)
Alternative pathway fits @@ -1744,7 +1757,7 @@ corresponding amide (Addendum 2014, p. 109). As FOMC provided the best fit for the parent, and the biexponential models DFOP and SFORB provided the best initial pathway fits, these three parent models are used in the alternative pathway fits. -
+@@ -1820,7 +1835,7 @@ alternative pathway fits.cyan_path_2 <- list( fomc_path_2 = mkinmod( cyan = mkinsub("FOMC", c("JCZ38", "J9Z38")), @@ -1774,11 +1787,13 @@ alternative pathway fits. overwrite = TRUE ) ) + +cl_path_2 <- start_cluster(n_cores) f_sep_2_const <- mmkin( cyan_path_2, cyan_ds, error_model = "const", - cluster = cl, + cluster = cl_path_2, quiet = TRUE) status(f_sep_2_const) |> kable()
Using constant variance, separate fits converge with the exception of the fits to the Sassafras soil data.
-+
The hierarchical fits for the alternative pathway completed successfully.
-+
+