fwhm: fwhm Class Constructor

View source: R/S3classes.R

fwhmR Documentation

fwhm Class Constructor

Description

This constructs a 'fwhm' object which stores information about the calculated full width half maximum. This function is for internal use and normally should not be called by the user.

Usage

fwhm(fwhmInterpolator, peaks = NA_real_, fwhmVals = NA_real_)

Arguments

fwhmInterpolator

A function that is used to find fwhm value for any given m/z.

peaks

The m/z values of the peaks of a single spectrum.

fwhmVals

The corresponding fwhm values in Da.

Value

An S3 object 'fwhm' with the following entries

  • fwhmInterpolator: A function that is used to find fwhm value for any given m/z.

  • peaks: The m/z values of the peaks of a single spectrum that were used for fwhm calculation.

  • fwhmVals: The corresponding fwhm values in Da.


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