getLpepcalib-methods {mscalib} | R Documentation |
Obtains an averaged calibration coefficient for an aligned calibration
list. The obtained calibration coefficients can be used to transform
the Massvectorlist-class into the theortical coordinate
system.
It internally uses the function getpepcalib-methods
object |
Massvectorlist-class |
freq |
The theoretical peptide frequency. default 1.000495 |
lengthmv |
minimal length of peak-list (Massvector) to be used for calibration. |
mrange |
see getpepcalib-methods |
... |
... |
Returns an object of class Calibextstat-class
library(msbase) data(pldata) data(cal2) #obtain the error of the dataset using peak-list of at least length 15 tmp <- getLpepcalib(pldata,lengthmv=15,mrange=c(0,1200)) applycalib(pldata,tmp)