setCurrentSpectrum {mrbin}R Documentation

A function for interactively setting the current spectrum.

Description

This function lets the user pick a spectrum from the list of spectra analysis. This function is meant only for use within the mrbin function.

Usage

setCurrentSpectrum(spectrumNumber = NULL, graphics = TRUE)

Arguments

spectrumNumber

If provided, this number will be used; defaults to NULL

graphics

Controls whether pop-up windows are shown for selections. Defaults to TRUE.

Value

None

Examples

 setCurrentSpectrum(spectrumNumber=1) 

[Package mrbin version 1.8.0 Index]