CalculateElutionShift: Compute elution shift of a transition peak relative to a...

Description Usage Arguments Value Examples

Description

The function takes two numeric vectors representing transition peaks as input and calculates their relative shift. Additionally, it needs to timepoints corresponding to the input transition peaks. The shift between these transition peaks is defined as the difference between time at max for the two peaks normalized by the peak width at base. This function should only be used for peaks that belong to the same peak group and have the same peak boundary and timepoints. Although this function can be used independently, it is meant to be called by CalculatePeakElutionShift. For high quality peaks, the elution shift is expected to be close to 0.

Usage

1

Arguments

sig1

A numeric vector representing a transition peak whose relative elution shift to the reference peak is to be calculated.

sig2

A numeric vector representing the reference peak.

time

A numeric vector representing the timepoints series of the peaks

Value

Numeric value of the relative shift (no unit) between sig1 and sig2.

Examples

1
2
peak <- data.CSF$data$PeakGroup[[1]]
transition.shift.y6 <- CalculateElutionShift(sig1 = peak@sig$y6.1.light, sig2 = peak@sig$y6.1.heavy,time = peak@time)

shadieshghi/TargetedMSQC documentation built on May 13, 2019, 12:20 p.m.