stlearn.pl.grid_plot¶
-
stlearn.pl.grid_plot(adata: anndata._core.anndata.AnnData, use_het: str = None, num_row: int = 10, num_col: int = 10, vmin: float = None, vmax: float = None, cropped: bool = True, margin: int = 100, dpi: int = 100, name: str = None, output: str = None, copy: bool = False) → Optional[anndata._core.anndata.AnnData][source]¶ Cell diversity plot for sptial transcriptomics data.
- Parameters
adata (Annotated data matrix.) –
use_het (Cluster heterogeneity count results from tl.cci.het) –
num_row (int Number of grids on height) –
num_col (int Number of grids on width) –
crop image or not. (cropped) –
margin used in cropping. (margin) –
dpi (Set dpi as the resolution for the plot.) –
name (Name of the output figure file.) –
output (Save the figure as file or not.) –
copy (Return a copy instead of writing to adata.) –
- Returns
- Return type
Nothing