findFragments: Find fragments

Description Usage Arguments Value Author(s) Examples

Description

Function to identify which fragment(s) in a list of fragments match a given molecular weight

Usage

1
findFragments(MW, fragments, resolution = 1)

Arguments

MW

Molecular weight target (in Da)

fragments

List of molecular weights corresponding to unique fragments

resolution

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

Value

Returns the index or indices of fragment(s) within the input list that have a molecular weight which matches that specified as input

Author(s)

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

Examples

1
2
3
data(MassArray.example.data)
findFragments(3913,MassArray.example.data$fragments.T, resolution=0.1)
findFragments(3913,MassArray.example.data$fragments.T, resolution=0.5)

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