ThresholdingAlgo {Autotuner} | R Documentation

## ThresholdingAlgo

### Description

This function performs a sliding window analysis on the chromatograms in order to identify peaks within the data. I would recommend to keep influence low in order to use adjacent peak lengths as a measure of peak width.

### Usage

    ThresholdingAlgo(y, lag, threshold, influence)

### Arguments

`y` | A numerical vector of measured chromatographic intensity values
`lag` | A scalar value of number of observations to calculate intensity prior to peak selection.
`threshold` | A number of standard deviations above chromatogram. Used to detect significantly observed peaks.
`influence` | A scalar values between 0-1 that describes how much the value of a peak (measured index value above threshold) should contribute to the sliding window analysis of downstream peaks.

### Value

A list of calculated sliding window values.

### Examples

    lag <- 25
    threshold<- 3.1
    influence <- 0.1
    Autotuner <- readRDS(system.file("extdata/Autotuner.rds",
    package="Autotuner"))
    signals <- lapply(getAutoIntensity(Autotuner), ThresholdingAlgo,
    lag, threshold, influence)

[Package Autotuner version 1.0.1 Index]