dot-getFwhm: Full width half Maximum of peaks

.getFwhmR Documentation

Full width half Maximum of peaks

Description

A method to compute the fwhm for the peaks of a given spectrum.

Usage

.getFwhm(spectrum, peaks)

Arguments

spectrum:

a spectrum of MALDIquant::MassSpectrum type.

peaks:

a centroided spectrum of MALDIquant::MassPeaks type.

Value

Returns a named vector of fwhm values with the same length as the number of peaks within the spectrum.

References

Adopted from https://gist.github.com/sgibb/3914291.


CeMOS-Mannheim/moleculaR documentation built on April 14, 2025, 8:27 a.m.