View source: R/ExhaustiveIndex-class.R
ExhaustiveIndex | R Documentation |
A class to hold the data for exact nearest neighbor identification.
ExhaustiveIndex(data, NAMES = NULL, distance = "Euclidean")
data |
A numeric matrix with data points in columns and dimensions in rows. |
NAMES |
A character vector of sample names or |
distance |
A string specifying the distance metric to use. |
Users should never need to call the constructor explicitly, but should generate
instances of ExhaustiveIndex classes with buildExhaustive
.
Users can get values from an ExhaustiveIndex object with the usual [[
syntax.
All parameters listed in the constructor can be extracted in this manner.
An ExhaustiveIndex object.
buildExhaustive
, for the index construction.
BiocNeighborIndex, for the parent class and its available methods.
example(buildExhaustive)
out[['distance']]
bndistance(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.