Calculate peak purity values
Usage
get_purity_values(
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
weight provided to
get_agilent_threshold
.- noise_variance
Variance of noise. Argument to
get_agilent_threshold
.- noise_threshold
Threshold to define noise. Highest proportion of maximum absorbance.
- lambdas
Wavelengths to include in calculations.