readin.Rd
Import 1D NMR spectra
readin(path)
path | Given as a string, the path to the overarching files containing the NMR spectrum. |
---|
The function exports the following three objects into the currently active R environment (no variable assignments needed):
x: The NMR spectrum in an array of values matched to p
p: The column-matched ppm array of the x variable
m: The spectrometer metadata as extracted from the acqus file, row-matched to x
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
Torben Kimhofer torben.kimhofer@murdoch.edu.au