R/get_purity.R
trim_peak.Rd
Trim peak
trim_peak(x, pos, cutoff = 0.05)
A chromatogram in matrix format
A vector containing peak information
Proportion of maximum absorbance to use as cutoff.
Returns indices within the peak specified by pos with a higher signal intensity than the specified cutoff.
pos
Ethan Bass