identify_peaks_aux: Identify Peaks

Description Usage Arguments Value

View source: R/Identify_Peaks.R

Description

Given (x,y) pairs of datapoints, calculate peaks. This is the package interal function that does the heavy calculation. The function 'identify_peaks()' is the user friendly version of the function in which the user can just pass the imported data.

Usage

1
2
identify_peaks_aux(x, y, method = "PoT", param = NA,
  min_peak_length = 1, merge_peak_gap = 2)

Arguments

x

A vector x-values.

y

A vector of y-values.

method

A character string denoting which method to use. Valid options are: PeakSeg and PoT

param

A parameter controling how many peaks are detected. For PoT, it is the treshold.

Value

A data frame with columns 'Peak', 'Start', and 'End'.


dereksonderegger/PepSeq documentation built on July 24, 2019, 12:57 a.m.