filter_peaks_raw: Filter Peaks from Raw K-mer Histogram

View source: R/findGSE_v1.95_new.R

filter_peaks_rawR Documentation

Filter Peaks from Raw K-mer Histogram

Description

This function filters peaks from a raw k-mer histogram to find a major peak with enough support information on both sides.

Usage

filter_peaks_raw(peaks, histo)

Arguments

peaks

A data frame containing the peaks from the histogram.

histo

A data frame representing the raw 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_raw(peaks, histo)
print(filtered_peaks)


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