Exclude NCA parameters based on examining the parameter set.
exclude_nca_span.ratio(min.span.ratio)
exclude_nca_max.aucinf.pext(max.aucinf.pext)
exclude_nca_count_conc_measured(
min_count,
exclude_param_pattern = c("^aucall", "^aucinf", "^aucint", "^auciv", "^auclast",
"^aumc", "^sparse_auc")
)
exclude_nca_min.hl.r.squared(min.hl.r.squared)
exclude_nca_tmax_early(tmax_early = 0)
exclude_nca_tmax_0()
The minimum acceptable span ratio (uses
PKNCA.options("min.span.ratio")
if not provided).
The maximum acceptable percent AUC extrapolation (uses
PKNCA.options("max.aucinf.pext")
if not provided).
Minimum number of measured concentrations
Character vector of regular expression patterns to exclude
The minimum acceptable r-squared value for half-life
(uses PKNCA.options("min.hl.r.squared")
if not provided).
The time for Tmax which is considered too early to be a valid NCA result
exclude_nca_span.ratio()
: Exclude based on span.ratio
exclude_nca_max.aucinf.pext()
: Exclude based on AUC percent extrapolated (both
observed and predicted)
exclude_nca_count_conc_measured()
: Exclude AUC measurements based on count of
concentrations measured and not below the lower limit of quantification
exclude_nca_min.hl.r.squared()
: Exclude based on half-life r-squared
exclude_nca_tmax_early()
: Exclude based on implausibly early Tmax (often used
for extravascular dosing with a Tmax value of 0)
exclude_nca_tmax_0()
: Exclude based on implausibly early Tmax (special case
for tmax_early = 0
)
Other Result exclusions:
exclude()
my_conc <- PKNCAconc(data.frame(conc=1.1^(3:0),
time=0:3,
subject=1),
conc~time|subject)
my_data <- PKNCAdata(my_conc,
intervals=data.frame(start=0, end=Inf,
aucinf.obs=TRUE,
aucpext.obs=TRUE))
my_result <- pk.nca(my_data)
#> No dose information provided, calculations requiring dose will return NA.
my_result_excluded <- exclude(my_result,
FUN=exclude_nca_max.aucinf.pext())
as.data.frame(my_result_excluded)
#> # A tibble: 14 × 6
#> subject start end PPTESTCD PPORRES exclude
#> <dbl> <dbl> <dbl> <chr> <dbl> <chr>
#> 1 1 0 Inf auclast 3.47 NA
#> 2 1 0 Inf tmax 0 NA
#> 3 1 0 Inf tlast 3 NA
#> 4 1 0 Inf clast.obs 1 NA
#> 5 1 0 Inf lambda.z 0.0953 NA
#> 6 1 0 Inf r.squared 1 NA
#> 7 1 0 Inf adj.r.squared 1 NA
#> 8 1 0 Inf lambda.z.time.first 1 NA
#> 9 1 0 Inf lambda.z.n.points 3 NA
#> 10 1 0 Inf clast.pred 1 NA
#> 11 1 0 Inf half.life 7.27 NA
#> 12 1 0 Inf span.ratio 0.275 NA
#> 13 1 0 Inf aucinf.obs 14.0 AUC percent extrapolated > 20
#> 14 1 0 Inf aucpext.obs 75.1 AUC percent extrapolated > 20