Assign quality control flags to values less than or equal to the minimum level of quantification but greater than the MDL.
assign_detection_flags.Rd
Assign quality control flags to values less than or equal to the minimum level of quantification but greater than the MDL.
Usage
assign_detection_flags(data, limits = imdccal::detection_limits)
Value
The input data with the addition of a new flag field. The only flag included in this routine is the J-R flag. Any other flags will need to be defined separately by the user.
Examples
tidy_ccal_flagged <- read_ccal(use_example_data(file_names = "SPAC_080199.xlsx"))[[1]][[1]] %>%
remove_ccal_duplicates() %>%
assign_detection_flags()
#> Reading data from /home/runner/work/_temp/Library/imdccal/extdata/SPAC_080199.x…
#> Warning: ! Questionable results contain duplicate rows:
#> ! See samples: 11: TDN, 13: TDN, and 3: TDN.
#> ℹ This may be caused by lab error, or may be a result of one analyte being
#> compared to more than one other analyte.
#> ℹ See the `questionable` table returned by this function.