correctinternal.massvector {mscalib}R Documentation

Internal Calibration

Description

Corrects the masses of the massvector. It first obtains the model of the measrument error by calling getintcalib.massvector. It than corrects the masses by a call to applyintcalib.massvector.

Usage

## S3 method for class 'massvector':
correctinternal(object,calib,error=500,uniq=FALSE,ppm=TRUE,...)

Arguments

...
calib massvector with calibration masses
error
object massvector
ppm
uniq

Details

Internal calibration aligns masses of peaks to known masses and determines by linear regression a affine function that describing the relative error. The internal correction fails when no calibration peaks can be found.

Value

massvector calibrated massvector.

Author(s)

Witold Wolski wolski@molgen.mpg.de

References

-
Wolski http://www.molgen.mpg.de/~wolski/mscalib

See Also

getintcalib.massvector, calibintstat, applycalib.calibintstat,

Examples

 data(mv1)
 data(cal)
 res <- correctinternal(mv1,cal,error=200)

[Package Contents]