You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like that PKNCA's automatic behaviour does not include never automatically tmax for the half life calculation and that it takes 3 points always... This would be:
# Use the user inputs to determine the NCA settings to apply
PKNCA::PKNCA.options(
auc.method = input$method,
allow.tmax.in.half.life = FALSE,
# Make sure the standard options do not prohibit results
min.hl.r.squared = 0.001,
min.span.ratio = Inf,
min.hl.points = 3
)
Note: Other potential additional interests could be as well: using the min.hl.r.adj (still not possible in PKNCA) and the min.span.ratio defined by the users.
However, using this PLNCA.options can also affect the behaviour of the manual configuration done in the slope_selector module. For that reason we would like a solution that makes both fit together
An initial proposed easy-fix would be to only compute these PKNCA.options for "best_slopes" while on "manual_slopes" that are selected by the user perform other more permissive PKNCA.options:
# Use the user inputs to determine the NCA settings to apply
PKNCA::PKNCA.options(
auc.method = input$method,
allow.tmax.in.half.life = TRUE,
# Make sure the standard options do not prohibit results
min.hl.r.squared = 0.001,
min.span.ratio = Inf,
min.hl.points = 2
)
To reproduce
Being in code min.hl.points = 2
Map data > Submit analyte/dosno > Run NCA > In slope selector try to choose only 2 points for your slope
Being in code allow.tmax.in.half.life = FALSE
Map data > Submit analyte/dosno > Run NCA > In slope selector try to choose only 2 points for your slope
Expected behaviour
That the user can choose any point in the slope selector while the automatic selection in the app does exclude tmax and chooses always 3 points.
The text was updated successfully, but these errors were encountered:
Description
We would like that PKNCA's automatic behaviour does not include never automatically
tmax
for the half life calculation and that it takes 3 points always... This would be:However, using this PLNCA.options can also affect the behaviour of the manual configuration done in the
slope_selector
module. For that reason we would like a solution that makes both fit togetherAn initial proposed easy-fix would be to only compute these PKNCA.options for "best_slopes" while on "manual_slopes" that are selected by the user perform other more permissive PKNCA.options:
To reproduce
Being in code min.hl.points = 2
Map data > Submit analyte/dosno > Run NCA > In slope selector try to choose only 2 points for your slope
Being in code allow.tmax.in.half.life = FALSE
Map data > Submit analyte/dosno > Run NCA > In slope selector try to choose only 2 points for your slope
Expected behaviour
That the user can choose any point in the slope selector while the automatic selection in the app does exclude tmax and chooses always 3 points.
The text was updated successfully, but these errors were encountered: