q2Norm | R Documentation |
A method of NMR spectral normalisation where the maximum intensities
q2Norm(X, uv_used = "mode")
X |
A numerical matrix containing the NMR spectra to be normalised. Rows should be the spectra and columns being the chemical shift variables. Cannot normalise only as single spectrum, X must be a matrix. |
uv_used |
The univariate measure used to calculate the dilution coefficient. |
The method orders spectral intensities smallest to largest and finds the mean of each 'quantile' (i.e., the mean of the maximum intensities, the mean of the 2nd maximum intensities). These means are then reassigned back to the ppm that first housed the maximum, 2nd maximum, etc., and PQN is performed on each spectrum using its quantile normalised self. The calculated dilution factor is then used to normalise the original spectrum to reduce manipulation of peak shapes.
This function assigns the normalised X argument (as X_q2) and the calculated dilution factors (as dilf_q2) to the global environment.
The methods paper that describes quantile normalisation: https://doi.org/10.1007/s11306-011-0350-z
Other Reference-Based:
hmNorm()
,
pqNorm()
,
xfNorm()
data(X) q2Norm(X, uv_used = 'mode') cat(dilf_q2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.