roiNorm.Rd
This function normalises the spectra based on a specific area of the spectra. This is helpful when one region is constant across all spectra.
roiNorm(X, ppm = NULL, sh = c(2.5, 2.75))
X | A numerical matrix with rows being the spectra and columns being the chemical shift variables |
---|---|
ppm | A numerical array holding the chemical shift values of the X matrix. Only necessary when X is an array, not when X is a matrix |
sh | The numerical values defining the lower and upper regions of the Region of Interest. default = c(3,3.1). |
This function assigns the normalised X argument (as X_roi) and the calculated dilution factors (as dilf_roi) to the global environment.
roiNorm()
operates similar to creNorm()
except the normalising factor is not specificly creatinine, it can be what ever region is of interest.
A description of Region of Interest Normalisation can be found in this paper: http://dx.doi.org/10.1007/s11306-018-1400-6
Other Attribute-Based:
creNorm()
,
q1Norm()
,
taNorm()
,
vecNorm()
#> Calculating Dilfs... Done. #> Normalising X... Done. #>#> 4476124 28609976