mass.match: An internal function: finding matches between two vectors of...

View source: R/mass.match.R

mass.matchR Documentation

An internal function: finding matches between two vectors of m/z values.

Description

Given two vectors of m/z values and the tolerance ppm level, find the potential matches between the two vectors.

Usage

mass.match(x, known.mz, match.tol.ppm = 5)

Arguments

x

m/z values from the data.

known.mz

m/z values from the known feature table.

match.tol.ppm

tolerance level in ppm.

Value

A vector the same length as x. 1 indicates matched, and 0 indicates unmatched.

Author(s)

Tianwei Yu <tyu8@emory.edu>


yufree/apLCMS documentation built on May 19, 2024, 1:22 p.m.