scSLAT.metrics.global_score
- scSLAT.metrics.global_score(adatas, matching, biology_meta='', topology_meta='')[source]
Calculate global score, which consider celltype and histology, in two aligned graph (higher means better)
- Parameters:
adatas (
typing.List
[anndata._core.anndata.AnnData
]) – list of anndata objectmatching (
numpy.ndarray
) – matching resultbiology_meta (
typing.Optional
[str
]) – colname of adata.obs which keeps the biology info such as celltype of cellstopology_meta (
typing.Optional
[str
]) – colname of adata.obs which keeps the topology info such as histology region of cells
- Return type:
- Returns:
global score of mapping, higher means better