plot_type | text | spatial_scatter | 7 plot types. |
color_by | text | — | obs column or gene. |
cluster_key | text | leiden | Cluster column for overlays. |
section_view | select | auto | For co_occurrence/ripley. Canonical options: 'auto', 'summary', 'pooled', 'section', or 'facets'. Auto selects summary for multiple sections and one section otherwise. Ripley maps pooled to summary because independent study windows cannot be pooled. |
section_id | text | — | Exact stored section ID used when section_view='section'. Empty selects the first stored section. |
ripley_mode | select | auto | For ripley. Canonical options: 'auto', 'F', 'G', or 'L'. Auto follows uns['ripley_latest']; an explicit mode resolves a stored result with that mode. |
show_null | checkbox | true | For a single-section Ripley view, draw the per-group simulated null median. With show_interval=true, also draw its pointwise 2.5–97.5 percentile band. |
show_interval | checkbox | true | Draw available interval bands: section q25–q75 for multi-section summaries, or the simulated pointwise band for a single-section Ripley curve. |
clusters | text | — | Advanced comma-separated conditioning groups to draw. Empty auto-selects informative groups for co-occurrence and the first groups for Ripley; at most 6 co-occurrence or 12 Ripley groups are shown. |
deconvolution_key | text | deconvolution_proportions | For deconvolution_map, exact dynamic obsm key written by Spot Deconvolution. |
deconvolution_cell_type | text | — | For deconvolution_map, required exact cell-type proportion column. Missing/unknown values fail with the available columns. |
hotspot_module_column | text | — | For hotspot_module_map, required exact column in obsm['hotspot_module_scores'], for example module_1. Spatial Hotspot reports module_score_columns. |
map_section_key | text | — | For result maps, optional obs column separating tissue sections. Empty auto-detects library_id; multiple sections render as facets. |
map_section_id | text | — | For result maps, optional exact section value. Empty renders all detected sections as facets up to the 12-section safety limit. |
vmin | number | — | For result maps, optional lower color limit. Empty uses 0 for deconvolution and the observed minimum for Hotspot. |
vmax | number | — | For result maps, optional upper color limit. Empty uses 1 for deconvolution and the observed maximum for Hotspot. |
cmap | select | viridis | Colormap. |
size | number | 1.0 | Point size. |
figsize | array | [10, 8] | Figure size [width, height] in inches. |
alpha_img | number | 1.0 | Tissue-image opacity for spatial_scatter when Visium-style image metadata is available. |
bw | checkbox | false | Render an available tissue image in grayscale for spatial_scatter. |
spot_size | text | — | Manual spatial point size. null uses max(2, size × 6). |
scale_bar | number | — | Optional scale-bar length in the same coordinate units as obsm['spatial']; null disables it. |
flip_y | checkbox | false | Apply an extra Y-axis flip in the direct spatial_scatter renderer. |
tissue_alpha | text | — | Optional tissue-image opacity override; null uses alpha_img. |
source_groups | text | — | For ligrec plots, optional comma-separated ligand-producing source groups. Empty = all. |
target_groups | text | — | For ligrec plots, optional comma-separated receptor-bearing target groups. Empty = all. |
pvalue_threshold | number | 0.05 | For ligrec plots, hide interactions above this p-value. |
font_size | number | — | Font size. null = matplotlib default. |
title | text | — | Custom plot title. |
publication_quality | checkbox | false | Generate high-resolution publication-quality figure. |