filter_peaks: Filter Peaks from K-mer Histogram

View source: R/utils.R

filter_peaksR 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)

findGSEP documentation built on May 29, 2024, 3:35 a.m.