calibrationFun {ptairMS} | R Documentation |
Performs calibration on sp with mzCalibRef reference masses and mzToTofFunc as previous calibration function
calibrationFun(sp, mz, mzCalibRef, calibCoef, peakShape, tol)
sp |
spectrum |
mz |
mass axis |
mzCalibRef |
masses of know reference peaks |
calibCoef |
coeficient of the previous calibration |
peakShape |
a list with reference axis and a reference peak shape centered in zero |
tol |
maximum error tolarated in ppm |
list