test_peak_rsq: test points

View source: R/finding_peaks.R

test_peak_rsqR Documentation

test points

Description

given an mz data.frame, test all possible sets of points for their fit to a parabolic function.

Usage

test_peak_rsq(mz_peak, min_points = 5)

Arguments

mz_peak

the mz and intensity values defining the peak

min_points

the minimum number of points to include in the peak

Details

returns a matrix of vectors, where the vector is:

  1. start of points

  2. end of points

  3. number of points

  4. r-square fit for the set of points

Value

numeric


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