plot_peaks: @title plot_peaks

Description Usage Arguments Details Value Examples

View source: R/plot_peaks.R

Description

@description This funciton plots the peak identified within chromatography.

Usage

1
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

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

Autotuner documentation built on Nov. 8, 2020, 5:59 p.m.