CalculateFWHM: Compute FWHM and ratio of FWHM to peak width at base for...

Description Usage Arguments Value Examples

Description

The function takes a peak group of class peakObj as input and calculates the full-width at half-max (FWHM) and the FWHM to peak width at the base ratios for the transition peaks in the peak group. See https://en.wikipedia.org/wiki/Full_width_at_half_maximum

Usage

1

Arguments

peak

A peak group of class peakObj

Value

A list with the following objects: r.fwhm: A numeric vector of FWHM for each transition in the peak group. peak.fwhm: Mean of the r.fwhm vector. r.fwhm2base: A numeric vector of FWHM to peak width at base ratio for each transition in the peak group. peak.fwhm2base: Mean of the r.fwhm2base vector.

Examples

1
2
peak <- data.CSF$data$PeakGroup[[1]]
peak.group.fwhm <- CalculateFWHM(peak)

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