fs {rNMR}R Documentation

Spectra

Description

Functions for opening, closing, and switching between spectra in rNMR.

Usage

fo(fileName, ...)
fc(usrList = NULL)
fs()
ss(...)

Arguments

fileName

optional character string or vector argument giving the full path to the file(s) to open. A file selection window is opened if this argument is not provided.

usrList

optional character string or vector giving the full path to the file(s) to close. A file selection window is opened if this argument is not provided.

...

Additional arguments can be passed to internal plotting functions (see addArg).

Details

fs displays a GUI for opening, closing, sorting, and renaming files in rNMR. Double-clicking on a file path will switch the current spectrum to the file selected. Double-clicking on a spectrum name will allow the name to be edited. Changes made to the file order or spectrum names will affect the names and order in which files appear in fileFolder, other GUIs, and the multiple file window (see rsf).

The "Open stored" button opens a spectrum stored as an object in the global environment. This object must be in the same format as spectra returned by ed, with "file.par", "w1" (if applicable), "w2", and "data" sections, containing header information, chemical shifts, and the data for the spectrum, respectively.

Value

fo invisibly returns the list of opened files.

Shortcut functions

fo

Open one or more UCSF (Sparky and rNMR) format files.

fc

Close one or more files.

ss

Switch between open spectra.

Note

Files must be in UCSF (Sparky and rNMR) format. Bruker, NMRPipe, and Varian format spectra may be converted using rNMR's file conversion function cf. ASCII files may be converted using ca.

Author(s)

Ian A. Lewis ialewis@nmrfam.wisc.edu, Seth C. Schommer schommer@nmrfam.wisc.edu

See Also

gui for displaying rNMR menus; rNMR for other rNMR help topics.


[Package rNMR version 1.1.9 Index]