filter_peaks {findGSEP} | R Documentation |
Filter Peaks from K-mer Histogram
Description
This function filters peaks from a k-mer histogram to find a major peak with enough support information on both sides.
Usage
filter_peaks(peaks, histo)
Arguments
peaks |
A data frame containing the peaks from the histogram. |
histo |
A data frame representing the k-mer histogram. |
Value
A data frame with filtered peaks.
Examples
peaks <- data.frame(V1=1:20, V2=sample(1:10, 20, replace=TRUE))
histo <- data.frame(V1=1:100, V2=sample(1:10, 100, replace=TRUE))
filtered_peaks <- filter_peaks(peaks, histo)
print(filtered_peaks)
[Package findGSEP version 1.2.0 Index]