scSLAT.viz.multi_dataset.build_3D
- class scSLAT.viz.multi_dataset.build_3D(adatas, mappings, spatial_key='spatial', anno_key='annotation', subsample_size=200, scale_coordinate=True)[source]
Bases:
object
Build 3D pics/models from multi-datasets
- Parameters:
datasets – list adata of in order
mappings (
typing.List
[numpy.ndarray
]) – list of SLAT resultsspatial_key (
typing.Optional
[str
]) – obsm key of spatial infoanno_key (
typing.Optional
[str
]) – obs key of cell annotation such as celltypesubsample_size (
typing.Optional
[int
]) – subsample size of matchesscale_coordinate (
typing.Optional
[bool
]) – scale the coordinate from different slides
Methods
Draw 3D picture of two layers