setCurrentSpectrum: A function for interactively setting the current spectrum.

View source: R/mrbin.R

setCurrentSpectrumR 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) 

mrbin documentation built on April 4, 2025, 5:24 a.m.