q1Norm: Quantile Normalisation

View source: R/q1Norm.R

q1NormR Documentation

Quantile Normalisation

Description

A method of NMR spectral normalisation where the maximum intensities

Usage

q1Norm(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. Cannot normalise only as single spectrum, X must be a matrix.

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 assigns the normalised X argument (as X_q1) to the global environment.

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

data(X)
q1Norm(X)

kylebario/concentr8r documentation built on Nov. 9, 2022, 12:47 a.m.