isolatePeaks {Autotuner} | R Documentation

## isolatePeaks

### Description

This function is designed to handle the isolation of TIC peak regions to throw into AutoTuner.

### Usage

    isolatePeaks(Autotuner, returned_peaks, signals)

### Arguments

`Autotuner` | An Autotuner object. Ideally generated right after signal processing peak identification is complete.
`returned_peaks` | A numerical value representing the number of peaks that are to be returned to the user for downstream parameter optimization.
`signals` | A list of list containing data from sliding window analysis.

### Value

Returns an Autotuner object with selected TIC regions.

### Examples

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

[Package Autotuner version 1.2.0 Index]