Learn R Programming

MSnID (version 1.6.0)

mass_measurement_error: Computes error of the parent ion mass to charge measurement

Description

Computes error of the parent ion mass to charge measurement from experimentalMassToCharge and calculatedMassToCharge. The returned value is in points per million (ppm).

Usage

mass_measurement_error(object)

Arguments

object
An instance of class "MSnID".

Value

Returns mass to charge measurement error in "ppm" units.

Details

It may be more common to compute "mass measurement error". However, the practical difference in "mass measurement error" and "mass to charge measurement error" is negligible. Moreover, the instruments measure mass/charge ratio, not mass per se.

See Also

MSnID recalibrate correct_peak_selection

Examples

Run this code
data(c_elegans)
ppm <- mass_measurement_error(msnidObj)
hist(ppm, 100)

Run the code above in your browser using DataLab