Learn R Programming

RaMS (version 1.4.3)

pmppm: Plus/minus parts per million

Description

It shouldn't be hard to translate a point mass into a mass window bounded by spectrometer accuracy.

Usage

pmppm(mass, ppm = 4)

Value

A length-2 numeric representing the mass range requested

Arguments

mass

A length-1 numeric representing the mass of interest for which a mass range is desired.

ppm

The parts-per-million accuracy of the mass spectrometer on which the data was collected.

Examples

Run this code
pmppm(100, 5)
pmppm(1000000, 5)
pmppm(118.0865, 2.5)
pmppm(892.535313, 10)

Run the code above in your browser using DataLab