get_agilent_threshold: Calculate purity thresholds

View source: R/get_purity.R

get_agilent_thresholdR Documentation

Calculate purity thresholds

Description

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.

Author(s)

Ethan Bass

References

Stahl, Mark. “Peak Purity Analysis in HPLC and CE Using Diode-Array Technology.” Agilent Technologies, April 1, 2003, 16. https://www.agilent.com/cs/library/applications/5988-8647EN.pdf


ethanbass/chromatographR documentation built on April 17, 2025, 10:55 a.m.