Skip to contents

Remove lab duplicates.

Usage

remove_ccal_duplicates(data)

Arguments

data

The "data" table produced by read_ccal().

Value

The data after lab QC duplicates have been removed.

Examples

tidy_ccal_no_dups <- read_ccal(use_example_data(file_names = "SPAC_080199.xlsx"))[[1]][[1]] %>%
  remove_ccal_duplicates()
#> 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.