peak_analysis: Peak checking for the second coverage threshold and width.

View source: R/feature_file_editor.R

peak_analysisR Documentation

Peak checking for the second coverage threshold and width.

Description

This is a helper function that is used to examine if the peak had a continuous stretch of a given width that has coverage above the high cut-off value.

Usage

peak_analysis(View_line, high_cutoff, min_sRNA_length)

Arguments

View_line

A line from a RleViews object.

high_cutoff

An integer indicating the high coverage threshold value.

min_sRNA_length

An integer indicating the minimum sRNA length (peak width).

Value

Returns a RleViews line if it satisfies conditions.


irilenia/baerhunter documentation built on May 18, 2024, 11:56 p.m.