Description Usage Arguments Value Examples
View source: R/knn.and.statistics.R
This function is a wrapper around FNN package functionality to speed up the KNN process. It uses KD trees as default, along with k set to 100. Selection of K will vary based on the dataset. See k.selection.R.
1 | Fnn(cell.df, input.markers, k = 100)
|
cell.df |
the cell data frame used as input |
input.markers |
markers to be used as input for knn |
k |
the number of nearest neighbors to identify |
nn: list of 2, nn.index: index of knn (columns) for each cell (rows) nn.dist: euclidean distance of each k-nearest neighbor
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.