closeMatchPpm {biodb} | R Documentation

## Close match PPM

### Description

Matches peaks between two spectra.

### Usage

    closeMatchPpm(x, y, xidx, yidx, xolength, dppm, dmz)

### Arguments

`x` | sorted M/Z values (ascending order) of input spectrum (no NA).
`y` | sorted M/Z values (ascending order) of reference spectrum (no NA).
`xidx` | indices of the M/Z peaks of x, taken from the original spectrum ordered in decreasing intensity values.
`yidx` | indices of the M/Z peaks of y, taken from the original spectrum ordered in decreasing intensity values.
`xolength` | The length of the output.
`dppm` | The M/Z tolerance in PPM.
`dmz` | Minimum M/Z tolerance.

### Value

A list of results.

[Package biodb version 1.2.2 Index]