View source: R/nearestNeighbor.R
getBnn | R Documentation |
Identify nearest neighbors in the background cell-type
getBnn(cct, nct, pos, k)
cct |
Vector of cell names from cell type of interest |
nct |
Vector of cell names from background |
pos |
Position |
k |
Number of nearest neighbors from background for each cell from cell type of interest |
Boolean matrix where value = 1 if two cells are considered adjacency ie. neighbors, else 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.