scSLAT.metrics
Align metrics
Functions
(Abandon) NMI: neighbor matching index, measure how many K nearest spatial neighbors has matching from 0 to 1 |
|
Calculate edge score in two aligned graph (higher means better) |
|
Calculate euclidean distance between two datasets with ground truth (lower means better) |
|
Calculate global score, which consider celltype and histology, in two aligned graph (higher means better) |
|
Statistics of cell type correct mapping ratio |
|
Calculate first and top k-th hit ratio of matching |
|
Print the region statistic results |