View source: R/seurat_anchor_correction.R
ConstructNNMat | R Documentation |
Construct nearest neighbor matrix from nn.idx
ConstructNNMat(nn.idx, offset1, offset2, dims)
nn.idx |
Nearest neighbor index matrix (nn.idx from RANN) |
offset1 |
Offsets for the first neighbor |
offset2 |
Offsets for the second neighbor |
returns a sparse matrix representing the NN matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.