Removes specified chemical shift regions from 1D \(^1\)H NMR spectra. By default, commonly excluded metabolomics regions are removed (upfield/downfield noise, water, urea).
Arguments
- x
Numeric matrix or vector. Spectra in rows and variables in columns.
- ppm
Numeric vector of chemical shift positions (ppm). If omitted,
ppmis inferred fromcolnames(X).- regions
Named list of numeric vectors (length 2), specifying ppm regions to remove. Each element must define lower and upper bounds.