plot_peaks {Autotuner} | R Documentation

## @title plot_peaks

### Description

@description This funciton plots the peak identified within chromatography.

### Usage

    plot_peaks(Autotuner, boundary = 10, peak, showLegend = TRUE)

### Arguments

`Autotuner` | An Autotuner objected containing sample specific raw data.
`boundary` | UI input value that defines the boundary around the peak to visualize it.
`peak` | A Numeric index obtained from UI that indicates which peak should be visualized.
`showLegend` | A boolean dictating if a legend should be shown or not. Resolves issue where legend can cover chromatographic data

### Details

This function plots individual peaks selected by signal processing and expanded with a regression to allow the user to validate the selected signal processing parameters.

### Value

This function outputs plots that are meant to go into the peakVis UI.

### Examples

    Autotuner <- readRDS(system.file("extdata/Autotuner.rds",
    package="Autotuner"))
    plot_peaks(Autotuner = Autotuner, boundary = 100, peak = 1)

[Package Autotuner version 1.4.0 Index]