fmatchall-methods {msbase} | R Documentation

## Index of matching and not-matching peaks

### Description

Determines index of matching and non-matching peaks.

### Arguments

`obx` | see below in Methods section
`oby` | see below in Methods section
`error` | measurement error in e.g. Da or as relative error in parts per million (ppm)
`ppm` | if `TRUE` then error in parts per million(ppm), in arbitrary units otherwise.
`uniq` | if `TRUE` compute non-crossing matching.

### Value

`plind` | index of matching peaks in argument `obx`
`nplind` | index of non-matching paeks in argument `obx`
`calind` | index of matching peaks in argument `oby`
`ncalind` | index of non-matching peaks in argument `oby`

### Methods

obx = "numeric", oby = "numeric"
  ~~describe this method here
obx = "Massvector", oby = "Massvector"
  ~~describe this method here

### Examples

    data(pldata)
    pl1 <- pldata[[1]]
    pl2 <- pldata[[4]]
    fmatchall(pl1,pl2,error=0.1,ppm=FALSE,uniq=TRUE)
    fmatchall(pl1,pl2,error=150,ppm=TRUE,uniq=TRUE)

[Package msbase version 1.1.1 Index]