knnalgorithm: Auxiliary function for KNN and IMC algorithms

Description Usage Arguments Value See Also

View source: R/sincell.R

Description

Auxiliary function

Usage

1
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()


sincell documentation built on Nov. 8, 2020, 5:58 p.m.