Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

calibrateIntensity-methods

Calibrates intensities of a MassSpectrum object.


Description

This function calibrates (normalize) intensities of MassSpectrum objects.

Usage

## S4 method for signature 'MassSpectrum'
calibrateIntensity(object,
  method=c("TIC", "PQN", "median"), range, ...)
## S4 method for signature 'list'
calibrateIntensity(object,
  method=c("TIC", "PQN", "median"), range, ...)

Arguments

object

MassSpectrum object or a list of MassSpectrum objects.

method

the calibration method to be used. This should be one of "TIC", "PQN" or "median". See ‘Details’ section.

range

numeric of length 2, if given the scaling factor is calculated on the mass range from range[1L] to range[2L] and applied to the whole spectrum.

...

arguments to be passed to other functions. Currently only mc.cores is supported if object is a list.

Details

A number of different calibration methods are provided:

"TIC":

The TIC (Total Ion Current) of a MassSpectrum object is set to one. If range is given the TIC is only calculated for the intensities in the specified mass range.

"PQN":

The PQN (Probabilistic Quotient Normalization) is described in Dieterle et al 2006. calibrateIntensity uses the following algorithm:

  1. Calibrate all spectra using the "TIC" calibration.

  2. Calculate a median reference spectrum.

  3. Calculate the quotients of all intensities of the spectra with those of the reference spectrum.

  4. Calculate the median of these quotients for each spectrum.

  5. Divide all intensities of each spectrum by its median of quotients.

"median":

The median of intensities of a MassSpectrum object is set to one.

Value

Returns a modified MassSpectrum object with calibrated intensities.

Author(s)

Sebastian Gibb mail@sebastiangibb.de

References

F. Dieterle, A. Ross, G. Schlotterbeck, and Hans Senn. 2006. Probabilistic quotient normalization as robust method to account for dilution of complex biological mixtures. Application in 1H NMR metabonomics. Analytical Chemistry 78(13): 4281-4290.

See Also

Examples

## load package
library("MALDIquant")

## load example data
data("fiedler2009subset", package="MALDIquant")

## baseline correction
b <- removeBaseline(fiedler2009subset)

## calibrate intensity values
calibrateIntensity(b, method="TIC")

## calibrate intensity values using TIC for a specific mass range
calibrateIntensity(b, method="TIC", range=c(3000, 5000))

MALDIquant

Quantitative Analysis of Mass Spectrometry Data

v1.19.3
GPL (>= 3)
Authors
Sebastian Gibb [aut, cre] (<https://orcid.org/0000-0001-7406-4443>), Korbinian Strimmer [ths] (<https://orcid.org/0000-0001-7917-2056>)
Initial release
2019-05-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.