knn_neighborhood | R Documentation |
k nearest neighbors - niche selection
knn_neighborhood(coord, k)
coord |
data.frame - coordinates of spatial indices in assay |
k |
int - number of nearest neighbors to select |
list containing barcodes of nearest neighbors for each spatial index.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.