ExhaustiveIndex {BiocNeighbors}R Documentation

The ExhaustiveIndex class

Description

A class to hold the data for exact nearest neighbor identification.

Usage

ExhaustiveIndex(data, NAMES = NULL, distance = "Euclidean")

Arguments

data

A numeric matrix with data points in columns and dimensions in rows.

NAMES

A character vector of sample names or NULL.

distance

A string specifying the distance metric to use.

Details

Users should never need to call the constructor explicitly, but should generate instances of ExhaustiveIndex classes with buildExhaustive.

Value

An ExhaustiveIndex object.

Examples

example(buildExhaustive)


[Package BiocNeighbors version 1.8.2 Index]