find_peaks: find the peaks

View source: R/finding_peaks.R

find_peaksR Documentation

find the peaks

Description

Uses the pracma::findpeaks regular expression diff algorithm to find possible peaks, then tests each one to fit to parabolic model on log-intensities, returning the statistics about the peak.

Usage

find_peaks(mz_data, min_points = 4, n_peak = Inf, flat_cut = 0.98)

Arguments

mz_data

a data.frame of mz and intensity

min_points

minimum number of points to define a peak

n_peak

maximum number of peaks to return

flat_cut

minimum ratio of high points to say peak is "flat"

Value

list


MoseleyBioinformaticsLab/FTMS.peakCharacterization documentation built on April 27, 2022, 3:32 a.m.