runKNN {CytoTree} | R Documentation |
Calculates and stores a k-nearest neighbor graph based on Euclidean
distance with (KMKNN) algorithm using log-transformed signaling matrix of
flow cytometry data. The base function are base on findKNN
.
runKNN( object, given.mat = NULL, knn = 30, knn.replace = TRUE, verbose = FALSE, ... )
object |
an CYT object |
given.mat |
matrix. Given matrix to run knn |
knn |
numeric. Number of k-nearest neighbors. |
knn.replace |
logic. Whether to replace knn in CYT object |
verbose |
logical. Whether to print calculation progress. |
... |
Parameters passing to |
A CYT object with knn, knn.index and knn.distance information.