View source: R/KmknnParam-class.R
KmknnParam | R Documentation |
A class to hold parameters for the KMKNN algorithm for exact nearest neighbor identification.
KmknnParam(..., distance = "Euclidean")
... |
Arguments to be passed to |
distance |
A string specifying the distance metric to use. |
The KmknnParam class holds any parameters associated with running the KMKNN algorithm.
Currently, this relates to tuning of the k-means step - see buildKmknn
for details.
Users can get or set values from an KmknnParam object with the usual [[
syntax.
All parameters listed in ...
are available via x[['kmeans.args']]
.
An instance of the KmknnParam class.
Aaron Lun
buildKmknn
, for the index construction.
findKmknn
and related functions, for the actual search.
BiocNeighborParam, for the parent class and its available methods.
(out <- KmknnParam(iter.max=100))
out[['kmeans.args']]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.