trim_peak: Trim peak

View source: R/get_purity.R

trim_peakR Documentation

Trim peak

Description

Trim peak

Usage

trim_peak(x, pos, cutoff = 0.05)

Arguments

x

A chromatogram in matrix format

pos

A vector containing peak information

cutoff

Proportion of maximum absorbance to use as cutoff. Defaults to .05.

Value

Returns indices within the peak specified by pos with a higher signal intensity than the specified cutoff.

Author(s)

Ethan Bass


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