Skip to contents

Calculate the upper and lower parts per million error boundaries for a given m/z.

Usage

ppmRange(mz, ppm)

Arguments

mz

the m/z for which to calculate the error range

ppm

the parts per million

Value

A list containing the lower and upper error range limits.

Examples

ppmRange(118.08626,5)
#> $lower
#> [1] 118.08567
#> 
#> $upper
#> [1] 118.08685
#>