correctinternal.massvector {mscalib} | R Documentation |
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
.
## S3 method for class 'massvector': correctinternal(object,calib,error=500,uniq=FALSE,ppm=TRUE,...)
... |
|
calib |
massvector with calibration masses |
error |
|
object |
massvector |
ppm |
|
uniq |
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.
massvector |
calibrated massvector. |
Witold Wolski wolski@molgen.mpg.de
getintcalib.massvector
,
calibintstat
,
applycalib.calibintstat
,
data(mv1) data(cal) res <- correctinternal(mv1,cal,error=200)