Learn R Programming

mrbin (version 1.9.1)

setCurrentSpectrum: 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)

Value

None

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.

Examples

Run this code
 setCurrentSpectrum(spectrumNumber=1) 

Run the code above in your browser using DataLab