Run a KNN graph and store as an igraph object. The nearest neighbors are calculated using the dbscan implementation. The edges of the graph can be weighted with the inverse of the euclidean distance.
get_knn(x, nn = 30, weighted = TRUE, verbose = FALSE)
An SCE object.
Number of nearest neighbors to use.
Logical indicating whether to weigh the knn graph.
verbosity
An SCE object