Skip to contents

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::limits)

Arguments

data

The "data" table produced by getCCALData() after duplicates have been removed with handle_duplicates().

limits

Table with detection limits. By default, uses the version in the package. User-defined versions must have the same columns.

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 <- getCCALData(use_example_data(file_names = "SPAC_080199.xlsx"))[[1]][[1]] %>%
  handle_duplicates() %>%
  assign_detection_flags()
#> Error in getCCALData(use_example_data(file_names = "SPAC_080199.xlsx"))[[1]][[1]] %>%     handle_duplicates() %>% assign_detection_flags(): could not find function "%>%"