subtract_proton: subtract_proton

Description Usage Arguments Value Examples

View source: R/subtract_proton.R

Description

This function subtracts the mass of a proton from a monoisotopic mass (e.g., from a protonated m/z value to obtain its neutral analogue).

Usage

1

Arguments

mass

a numeric containing a monoisotopic mass

Value

a numeric containing the monoisotopic mass after proton subtraction

Examples

1
2
mz <- 414.9814                ## protonated PFOA with small error
subtract_proton(mz)

robertyoung3/PFCdetective documentation built on June 5, 2020, 2:37 p.m.