iterativeAnchorSelection {metabCombiner} | R Documentation

## Iterative Selection of Ordered Pairs

### Description

This is a helper function for `selectAnchors`. Anchors are iteratively selected from highly abundant feature pairs, subject to feature m/z, rt, & Q constraints set by the user.

### Usage

    iterativeAnchorSelection(cTable, windx, windy, swap = FALSE)

### Arguments

`cTable` | data frame, contains only feature ids, mzs, rts, Qs, & labels
`windx` | numeric positive retention time exclusion window in X dataset.
`windy` | numeric positive retention time exclusion windown in Y dataset.
`swap` | logical. When FALSE, searches for abundant features in dataset X, complemented by dataset Y features; when TRUE, searches for abundant features in dataset Y, complemented by dataset X features.

### Value

data frame of anchor feature alignments.

### See Also

`selectAnchors`

[Package metabCombiner version 1.2.2 Index]