calibrationFun {ptairMS} | R Documentation

## calibration function

### Description

Performs calibration on sp with mzCalibRef reference masses and mzToTofFunc as previous calibration function

### Usage

    calibrationFun(sp, mz, mzCalibRef, calibCoef, peakShape, tol)

### Arguments

`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

### Value

list

[Package ptairMS version 1.0.1 Index]