| setAutoPeaks {Autotuner} | R Documentation |
This function fills the peaks slot within an Autotuner object.
setAutoPeaks(peaks, Autotuner)
peaks |
A list of numeric values representing peaks |
Autotuner |
An AutoTuner object. |
An Autotuner object with a filled peaks slot
Autotuner <- readRDS(system.file("extdata/Autotuner.rds",
package="Autotuner"))
peaks <- getAutoPeaks(Autotuner)
Autotuner <- setAutoPeaks(peaks, Autotuner)