Learn R Programming

MALDIquant (version 1.1)

standardizeTotalIonCurrent-methods: Standardizes the Total Ion Current of a list of AbstractMassObject objects.

Description

This method sets the TIC (Total Ion Current) of a list of AbstractMassObject objects to one. That results in a decreased intensity of the mass spectrometry data.

Usage

## S3 method for class 'list':
standardizeTotalIonCurrent(object,
    value=1)

Arguments

object
a list of AbstractMassObject objects
value
numeric, resulting TIC

Value

  • Returns a list of modified AbstractMassObject objects.

Details

standardizeTotalIonCurrent is a shortcut for: sTIC <- lapply(spectraList, "totalIonCurrent<-", 1);

References

See website: http://strimmerlab.org/software/maldiquant/

See Also

AbstractMassObject, MassSpectrum, MassPeaks

Examples

Run this code
## load library
library("MALDIquant");

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

## show TIC in spectrum 1
totalIonCurrent(fiedler2009subset[[1]]) ## 90312326

## set TIC to 1 in all spectra
sTIC <- standardizeTotalIonCurrent(fiedler2009subset);

## show TIC in spectrum 1
totalIonCurrent(sTIC[[1]])              ## 1

Run the code above in your browser using DataLab