Calculate Jaccard Index
JaccardIndex(
seu,
anno_col,
maxRadius,
spatialCoordsNames = c("Cell.X", "Cell.Y"),
celldist,
...
)
An object of Seurat.
The annotation column used to define the factors.
Maximal Euclidean distance of the neighbors.
The column names of coordinates
Output of findNearCellsByRadius
not used.
A data.frame with column names of 'A', 'B' and 'JaccardIndex'