- x
A list of MassSpectrum
objects.
- meta
(optional) Matrix or vector containing metadata associated to x
. Typically a data matrix including spectrum ID, biotype, replicate number, etc. for each element of x
.
- threshold
Multiplicative factor used in computing the upper and lower fences to determine passes and failures. It is related to the actual method used to compute the fences (see method
). Typically, threshold = 1.5
(default value) for the boxplot rules, and threshold = 3
for the others.
- estimator
Robust scale estimator used:
Q
: robust location-free scale estimate (default, see Qn
function in robustbase
package). More efficient than MAD and adequate for non-symmetric distributions.
MAD
: median absolute deviance scale estimate. Very robust and preferred for fairly symmetric distributions.
- method
Method used to compute upper and lower fences for the identification of atypical mass spectra.
boxplot
: standard boxplot rule based on the first and third quartiles and the interquartile range.
adj.boxplot
: extension of boxplot rule for strongly asymmetric data (default).
ESD
: extreme studentized deviation method. Based on the mean and the standard deviation of the data. Typically used with threshold = 3
(three-sigma rule).
Hampel
: robust version of the ESD method based on the median and the median absolute deviance estimate (MAD).
RC
: as Hampel's but replacing MAD by Rousseeuw & Croux (1993)'s Qn
as scale estimate.
- nd
Order for the derivative function of the mass spectra (default = 1).
- lambda
Weight given to each component of the atypicality score (values in [0, 1], default = 0.5, see details below).
- ...
Other arguments.