ppm: mass accuracy

View source: R/ppm.R

ppmR Documentation

mass accuracy

Description

calculate the mass accuracy of measured m/z. lazy input allowed

Usage

ppm(m, t, lazy = TRUE)

Arguments

m

measured m/z

t

theoretical m/z

lazy

if lazy input is allowed

Author(s)

Yonghui Dong

Examples

 ppm(155.03383, 155.03388) # with m/z value
 ppm(155.03383, .03388) # lazy input when the integer parts of m and t are the same
 ppm(155.03384, mz('C7H7O4', z = 1)) # with ion formula

YonghuiDong/MSbox documentation built on Jan. 12, 2023, 3:48 p.m.