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.
filtermsms(fragments, frag, ppm)
vector of mz values
mz to be matched
mass tolerance
Logical value