Calculate purity thresholds
Usage
get_agilent_threshold(
x,
pos,
weight = 1,
noise_variance = NULL,
noise_threshold = 0.005,
lambdas
)
Arguments
- x
A chromatogram in matrix format
- pos
A vector containing peak information
- weight
Scaling parameter affecting stringency of threshold. Defaults to
1
.- noise_variance
Variance of noise.
- noise_threshold
Threshold to define noise. Highest proportion of maximum absorbance. Defaults to
.005
.- lambdas
Wavelengths to include
Value
Returns a vector of purity thresholds at each retention time index
within the peak specified by pos
.