qNorm: Quantile Normalisation

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/qNorm.R

Description

A method of NMR spectral normalisation where the maximum intensities

Usage

1
qNorm(X)

Arguments

X

A numerical matrix containing the NMR spectra to be normalised. Rows should be the spectra and columns being the chemical shift variables

Details

The intensities of each spectrum are ordered smallest to largest, the means of these 'quantiles' are calculated and these means are then reassigned to the ppm they match to (i.e., the ppm which contained the highest intensity will be assigned the mean of the highest values and so on)

Value

This function returns a list with:

  1. The normalised X matrix based on the calculated dilf in the first element,

  2. The quantile normalised X matrix in the second element, and

  3. The dilf calculated in the third element.

Author(s)

kylebario1@gmail.com

See Also

The methods paper that describes quantile normalisation: https://doi.org/10.1007/s11306-011-0350-z

Other Attribute-Based: creNorm(), roiNorm(), taNorm(), vecNorm()

Examples

1
2
data(X)
qNorm(X)

kylebario/unorm documentation built on Dec. 21, 2021, 8:45 a.m.