setAutoPeaks {Autotuner}R Documentation

setAutoPeaks

Description

This function fills the peaks slot within an Autotuner object.

Usage

setAutoPeaks(peaks, Autotuner)

Arguments

peaks

A list of numeric values representing peaks

Autotuner

An AutoTuner object.

Value

An Autotuner object with a filled peaks slot

Examples

Autotuner <- readRDS(system.file("extdata/Autotuner.rds",
package="Autotuner"))
peaks <- getAutoPeaks(Autotuner)
Autotuner <- setAutoPeaks(peaks, Autotuner)

[Package Autotuner version 1.2.0 Index]