scSLAT.viz.multi_dataset.matching_2d
- scSLAT.viz.multi_dataset.matching_2d(matching, ref, src, biology_meta, topology_meta, spot_size=5, title='2D matching', save=None)[source]
Visualize the matching result in 2D space
- Parameters:
matching (
numpy.ndarray) – matching resultref (
anndata._core.anndata.AnnData) – reference datasetsrc (
anndata._core.anndata.AnnData) – target datasetbiology_meta (
str) – celltype meta colname of adata.obstopology_meta (
str) – region meta colname of adata.obsspot_size (
typing.Optional[int]) – size of spot for visualizationtitle (
typing.Optional[str]) – plot titlesave (
typing.Optional[str]) – save file name (None for not save)
- Return type: