find.match: Internal function: finding the best match between a set of...

View source: R/find.match.R

find.matchR Documentation

Internal function: finding the best match between a set of detected features and a set of known features.

Description

Given a small matrix of distances, find the best column-row pairing that minimize the sum of distances of the matched pairs.

Usage

find.match(a, unacceptable = 4)

Arguments

a

A matrix of distances.

unacceptable

A distance larger than which cannot be accepted as pairs.

Value

A matrix the same dimension as the input matrix, with matched position taking value 1, and all other positions taking value 0.

Author(s)

Tianwei Yu <tyu8@emory.edu>


yufree/apLCMS documentation built on May 19, 2024, 1:22 p.m.