This function finds outliers based on several criteria. Here, we define an outlier as a measurement that has:
an initial mass 44 intensity below init_low
.
an initial mass 44 intensity above init_high
.
an imbalance between sample and reference gas mass 44 intensities of more than diff
.
a clumped value that is more than nsd_off
standard deviations away from the mean.
find_outliers(
.data,
...,
init_low = 8000,
init_high = 40000,
init_diff = 1200,
param49_off = 1,
internal_sd = 0.15,
n_min = 5,
n_id1 = 5,
nsd_off = 4,
D47 = D47_raw,
session = Preparation,
id1 = `Identifier 1`,
quiet = NULL
)
A tibble with raw Delta values and file information.
These dots are for future extensions and must be empty.
Minimum initial intensity threshold for mass 44.
Maximum initial intensity threshold for mass 44.
Maximum initial difference in mass 44 threshold between standard and sample gas.
Where param_49 > this value is considered an outlier.
The internal standard deviation outlier cutoff.
Minimum number of aliquots within session to calculate threshold.
Minimum number of aliquots within session to calculate threshold within group.
Number of standard deviations away from the mean threshold.
The column with \(\Delta_{47}\) values.
Column name that defines correction session.
Column name of the sample/standard identifier.
If TRUE
, print info messages. If NULL
(default) listens to options(clumpedr.quiet)