mzRTindexer: m/z - RT Indexer

View source: R/mzRTindexer.R

mzRTindexerR Documentation

m/z - RT Indexer

Description

This function locate the closest pair of a reference (m/z - RT) pair in a 2-D grid of 'm/z' and 'RT' vectors.

Usage

mzRTindexer(MZvec, RTvec, MZref, RTref, massAccuracy, RTtolerance)

Arguments

MZvec

m/z vector

RTvec

RT vector

MZref

a reference m/z

RTref

a reference RT

massAccuracy

m/z tolerance

RTtolerance

RT tolerance

Value

index of closest pair to the reference (m/z - RT) pair

Note

This function returns NULL in case no match is detected.


IDSL.IPA documentation built on June 7, 2023, 6:01 p.m.