mzRTindexer {IDSL.IPA}R 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.


[Package IDSL.IPA version 2.9 Index]