normSpectra {ChemoSpec}R Documentation

Normalize a Spectra Object

Description

This function carries out normalization of the spectra in a Spectra object. There are currently four options:

Usage

normSpectra(spectra, method = "PQN", RangeExpress = NULL)

Arguments

spectra

An object of S3 class Spectra to be normalized.

method

One of c("PQN", "TotInt", "Range", "zero2one") giving the method for normalization.

RangeExpress

A logical expression giving the frequency range over which to sum intensities, before dividing the entire spectrum by the summed values. For examples of constructing these expressions, see the examples in removeFreq.

Value

An object of S3 class Spectra.

Author(s)

Bryan A. Hanson, DePauw University.

References

Probabalistic Quotient Normalization is reported in F. Dieterle et. al. Analytical Chemistry vol. 78 pages 4281-4290 (2006). The exact same mathematics are called "median fold change normalization" by Nicholson's group, reported in K. A. Veselkov et. al. Analytical Chemistry vol. 83 pages 5864-5872 (2011).

https://github.com/bryanhanson/ChemoSpec

Examples


data(SrE.IR)
res <- normSpectra(SrE.IR)
sumSpectra(res)


[Package ChemoSpec version 4.4.97 Index]