findCollisions: Find peak collisions

Description Usage Arguments Value Author(s) Examples

Description

Function to determine which subset(s) of peaks collide with eachother (i.e. molecular weights are indistinguishable given the specified resolution)

Usage

1
findCollisions(peaks, resolution = 0.5)

Arguments

peaks

Numerical list of molecular weights (in Da) corresponding to a set of peaks

resolution

Resolution (in Da), used to specify the ability to distinguish two different molecular weights. For a resolution of 0.5 (default), two molecular weights are considered identical if they are less than 0.5 Da apart.

Value

Returns a list of peak collisions for each peak in the original list, thus the data object returned is in the form of a nested list.

Author(s)

Reid F. Thompson (rthompso@aecom.yu.edu), John M. Greally (jgreally@aecom.yu.edu)

Examples

1
findCollisions(1:5, 1.5)

MassArray documentation built on Nov. 8, 2020, 5:16 p.m.