knnalgorithm {sincell} | R Documentation

## Auxiliary function for KNN and IMC algorithms

### Description

Auxiliary function

### Usage

    knnalgorithm(distance, mutual, k)

### Arguments

`distance` | distance matrix
`mutual` | logical specifying if the connection between neighbors must be mutual
`k` | maximum order of neighbors

### Value

An adjacency matrix is returned.

### See Also

sc_GraphBuilderObj(), sc_clusterObj()

[Package sincell version 1.24.0 Index]