sign_score: Calculate relative scores for peak calling

Description Usage Arguments Value

View source: R/detect-peak.R

Description

Sign calculation for each bin in the binned intensity data. It is used to define contiguous regions in which we will find a peak.

Usage

1
sign_score(y, half_width, elevation)

Arguments

y

The binned intensity data

half_width

The half window size used in edges

elevation

The minimum intensity difference a peak needs to exceed the minimum intensity within the window defined by edges

Value

A vector of scores, one for each intensity value in a bin


oslerinhealth/spotgear documentation built on May 25, 2021, 10:38 p.m.