identify_peaks: Identify Peaks

Description Usage Arguments Value

View source: R/Identify_Peaks.R

Description

Given an input data set, calculate peaks.

Usage

1
2
identify_peaks(data, method = "PoT", param = NA, min_peak_length = 2,
  merge_peak_gap = 2)

Arguments

data

A data frame of 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.

min_peak_length

The smallest length allowed for a peak

merge_peak_gap

If two peaks are separated for less than this amount, they are merged into a single peak.

x

The column name of the x-axis. Defaults to 'position'.

y

The column name of the y-axis. Defaults to 'signal'.

protein

The column name of groups that break up the x-axis. Defaults to 'protein_ID'.

Group

The column name of the grouping variable for different experiments. Defaults to 'Group'.

Value

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


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