spateo.plotting.static.align¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Module Contents¶
- spateo.plotting.static.align.slices_2d(slices: anndata.AnnData | List[anndata.AnnData], slices_key: bool | str | None = None, label_key: str | None = None, label_type: str | None = None, spatial_key: str = 'spatial', point_size: float | None = None, n_sampling: int = -1, palette: dict | None = None, ncols: int = 4, title: str = '', title_kwargs: dict | None = None, show_legend: bool = True, legend_kwargs: dict | None = None, axis_off: bool = False, axis_kwargs: dict | None = None, ticks_off: bool = True, x_min=None, x_max=None, y_min=None, y_max=None, height: float = 2, alpha: float = 1.0, cmap='tab20', center_coordinate: bool = False, gridspec_kws: dict | None = None, return_palette: bool = False, save_show_or_return: Literal['save', 'show', 'return', 'both', 'all'] = 'show', save_kwargs: dict | None = None, **kwargs)[source]¶
- spateo.plotting.static.align.overlay_slices_2d(slices: anndata.AnnData | List[anndata.AnnData], slices_key: bool | str | None = None, label_key: str | None = None, overlay_type: Literal['forward', 'backward', 'both'] = 'both', spatial_key: str = 'spatial', point_size: float | None = None, n_sampling: int = -1, palette: dict | None = None, ncols: int = 4, title: str = '', title_kwargs: dict | None = None, show_legend: bool = True, legend_kwargs: dict | None = None, axis_off: bool = False, axis_kwargs: dict | None = None, ticks_off: bool = True, x_min=None, x_max=None, y_min=None, y_max=None, height: float = 2, alpha: float = 1.0, cmap='tab20', center_coordinate: bool = False, gridspec_kws: dict | None = None, save_show_or_return: Literal['save', 'show', 'return', 'both', 'all'] = 'show', save_kwargs: dict | None = None, **kwargs)[source]¶
- spateo.plotting.static.align.multi_slices(slices: anndata.AnnData | List[anndata.AnnData], slices_key: str | None = None, label: str | None = None, spatial_key: str = 'align_spatial', layer: str = 'X', point_size: float | None = None, font_size: float | None = 20, color: str | None = 'skyblue', palette: str | None = None, alpha: float = 1.0, ncols: int = 4, ax_height: float = 1, dpi: int = 100, show_legend: bool = True, save_show_or_return: Literal['save', 'show', 'return', 'both', 'all'] = 'show', save_kwargs: dict | None = None, **kwargs)[source]¶