Description Usage Arguments Value
View source: R/Identify_Peaks.R
Given an input data set, calculate peaks.
1 2 | identify_peaks(data, method = "PoT", param = NA, min_peak_length = 2,
merge_peak_gap = 2)
|
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'. |
A data frame with columns for 'Group', 'protein_ID', 'Peak', 'Start', and 'End'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.