determinePeakShape: Determine peak shape from raw data in tof

View source: R/peak_detection.R

determinePeakShapeR Documentation

Determine peak shape from raw data in tof

Description

This function use the method descibe by average and al 2013, for determine a peak shape from the raw data :
$peak_i(Delta_i,A_i,t_i) = interpolation(x= tof.ref * Delta_i + t_i,y = A_i * peak.ref, xout= TOF_i )$ where peak.ref and tof.ref are peaks reference use for mass calibration.

Usage

determinePeakShape(raw, plotShape = FALSE)

Arguments

raw

a ptrRaw-class object

plotShape

if true plot each reference peak and the average peak (the peak shape)

Value

A list of two vectors which are the reference peak normalized tof and intensity.


camilleroquencourt/ptairMS documentation built on April 24, 2024, 9:03 p.m.