Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

baselineGUI

Interactive plotting tool


Description

An interactive plotting tool for dynamic visualization of baselines and their effect using the gWidgets2 package with GTK+ or Tcl/Tk.

Usage

baselineGUI(spectra, method='irls', labels, rev.x = FALSE)

Arguments

spectra

Matrix with spectra in rows

method

Baseline correction method (optional)

labels

Labels for X-axis (optional)

rev.x

Reverse X-axis (optional, default=FALSE)

Details

Creates and updates a list containing current baseline and spectrum (baseline.result). Make sure a gWidget2 implementation is available, e.g gWidgets2RGtk2 or gWidgets2tcltk and a corresponding backend like GTK+ or Tcl/Tk. The GUI was developed using GTK which is an external dependency in Windows ans OS X.

Author(s)

Kristian Hovde Liland and Bjørn-Helge Mevik

Examples

data(milk)
## Not run: 
# Dependent on external software
baselineGUI(milk$spectra)

## End(Not run)

baseline

Baseline Correction of Spectra

v1.3-1
GPL-2
Authors
Kristian Hovde Liland [aut, cre], Bjørn-Helge Mevik [aut], Roberto Canteri [ctb]
Initial release
2020-09-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.