Import 1D NMR spectra

readin(path)

Arguments

path

Given as a string, the path to the overarching files containing the NMR spectrum.

Value

The function exports the following three objects into the currently active R environment (no variable assignments needed):

  1. x: The NMR spectrum in an array of values matched to p

  2. p: The column-matched ppm array of the x variable

  3. m: The spectrometer metadata as extracted from the acqus file, row-matched to x

Details

This function imports TopSpin processed NMR spectra as well as spectrometer and processing parameters found in files acqus and procs. Experiments can be filtered according to data acquisition variables using the exp_type argument: For example, to read standard 1D NMR experiments use exp_type=list(exp='noesygppr1d'). More than one argument can be provided as list element. Objects in the R environment with the same variable names will be overwritten.

NA

See also

Other preproc: bl_(), cali(), flip_(), pproc()

Author

Torben Kimhofer torben.kimhofer@murdoch.edu.au

Examples

readin(path = system.file('extdata/15', package = 'NMRalter8r'))