tensfeldt / openNCA

openNCA computation engine is an R package that provides for generation of pharmacokinetic parameter estimates using non-compartmental (NCA) pharmacokinetic analysis methods.
MIT License
27 stars 5 forks source link

2020-09-30 tc158_M1SS AUC10_24 no longer generated for single dosing interval profiles introduced with 472a0a2 #270

Closed jhhughes256 closed 4 years ago

jhhughes256 commented 4 years ago

Issue

When testing tc158 (actual time) the results for the partial AUCs are generated for both 0h - 10h and 10h - 24h. The values for the partial AUC from 10 - 24 hours have changed with the latest commit 472a0a2 (regression).

New Output

knitr::kable(head(test_r[,c("SDEID", "TAU1", "TAU2", "AUC0_10", "AUC10_24")]))
SDEID TAU1 TAU2 AUC0_10 AUC10_24
42088261 24 NA 71.53338 0.00000
110358863 10 14 42.76663 62.42074
180819268 24 NA 38.87831 0.00000
212373988 10 14 52.51743 79.51913
483025130 10 14 86.27932 120.30431
782312460 24 NA 44.14849 0.00000

Old Output

knitr::kable(head(reference_r[,c("SDEID", "TAU1", "TAU2", "AUC0_10", "AUC10_24")]))
SDEID TAU1 TAU2 AUC0_10 AUC10_24
42088261 24 NA 71.53338 81.61386
110358863 10 14 42.76663 62.42074
180819268 24 NA 38.87831 35.66044
212373988 10 14 52.51743 79.51913
483025130 10 14 86.27932 120.30431
782312460 24 NA 44.14849 33.31131
jhhughes256 commented 4 years ago

This issue was fixed with commit 19fc464.