LipidMS (version 1.0.0)

filtermsms: Presence or absence of an mz value withing a vector of mz values

Description

This function indicates the presence or absence of a fragment within a set of mz values with certain tolerance. It is used by identification functions to look for the generic fragments of each class of lipid.

Usage

filtermsms(fragments, frag, ppm)

Arguments

fragments

vector of mz values

frag

mz to be matched

ppm

mass tolerance

Value

Logical value