Data preprocessing settings
settings_preprocess(
routes_keep = c("oral", "iv"),
media_keep = c("blood", "plasma"),
ratio_conc_dose = 1,
impute_loq = TRUE,
loq_group = dplyr::vars(Chemical, Species, Reference, Media),
calc_loq_factor = 0.9,
impute_sd = TRUE,
sd_group = dplyr::vars(Chemical, Species, Reference, Media),
suppress.messages = FALSE,
...
)
An object of class `pk_settings_preprocess`. This is a named list of the arguments provided to this function and their values.
Character: A list of routes to keep. Data will be filtered so that the harmonized variable `Route` includes only values in `routes_keep`. Default is `c("oral", "iv")`.
Character: A list of media to keep. Data will be filtered so that the harmonized variable name `Media` includes only values in `media_keep`. Default is `c("blood", "plasma")`.
Numeric: The ratio of mass units of observed concentrations to mass units of applied doses. Default 1, to indicate the same mass units are used for both.
TRUE or FALSE: Whether to impute missing LOQ values.
A list of variables, specified using a call to [dplyr::vars()]. These should be harmonized variable names. Unique combinations of these variables define groups of data. Within each group, any missing LOQ values will be imputed as the minimum detected Value in the group, multiplied by `calc_loq_factor`. Default is `dplyr::vars(Chemical, Species, Reference, Media)`.
A numeric factor used for imputing missing LOQ. Within each group defined in `loq_group`, any missing LOQ values will be imputed as the minimum detected Value in the group, multiplied by `calc_loq_factor`. Default 0.9.
TRUE or FALSE: Whether to impute missing SD values.
A list of variables, specified using a call to [dplyr::vars()]. These should be harmonized variable names. Unique combinations of these variables define groups of data. Within each group, any missing SD values will be imputed as the minimum non-missing SD value in the group. Default is `dplyr::vars(Chemical, Species, Reference, Media)`.
TRUE or FALSE: Whether to suppress verbose messages. Default FALSE.
Any additional arguments. Currently ignored.
Caroline Ring