lw: Calculating full width at half max

Description Usage Arguments Value Author(s) See Also

View source: R/lw.R

Description

Calculating full width at half maximum (FWHM, aka line width). This function simply returns the ppm difference where peak line crosses half of the peak height. It requires one signal across all spectra within ppm ranges specified in shift.

Usage

1
lw(X, ppm, shift = c(-0.01, 0.01))

Arguments

X

NMR matrix with rows representing spectra.

ppm

ppm vector with its length equals to nrow(X).

shift

Signal shift to calculate line width

Value

Array of line widths in ppm. To convert from ppm to Hertz (Hz), multiply values with the spectrometer frequency (column a_SF01 in meta data frame).

Author(s)

Torben Kimhofer tkimhofer@gmail.com

See Also

readBruker


kimsche/MetaboMate documentation built on Aug. 8, 2020, 1:14 a.m.