getglobalcalib.massvectorlist {mscalib}R Documentation

Set Based Internal Calbiration

Description

Obtains error model using massvector with known masses.

Usage

## S3 method for class 'massvectorlist':
getglobalcalib(object , calib , error=500,ppm=TRUE, labund=12, abund = length(object)/5 , accur = ifelse(ppm,error/2000,error) ,...)

Arguments

... further parameters.
abund default = length(object)/5
accur default = ifelse(ppm,error,error/2000)
calib massvector with calibration masses
error assumed measurment error.
labund how many abundant masses to use for calibration. default=12.
object massvectorlist
ppm logical; TRUE- describe the error as relative error. FALSE- describe the error as absolute error.

Details

Set based Calibration copes with the problem of missing calibration masses. It first extracts about 15 most abundant masses of the massvectorlist, then they are internally calibrated and used as new calibration masses. In this fashion more massvectors can be internally calibrated. 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

calibintstat object of class calibintstat.

Author(s)

Witold Wolski wolski@molgen.mpg.de

References

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

See Also

applyintcalib.massvector, getintcalib.massvector, correctinternal.massvectorlist, calibintstat, caliblist,

Examples

 data(mvl)
 data(cal)
 res<-getglobalcalib(mvl,cal,error=500,ppm=TRUE)
 hist(res)

[Package Contents]