Embedding Plot
visualizationUMAP/t-SNE/PCA scatter colored by metadata or gene expression. After Scale, adata.X is z-scores — use layer="auto" or layer="normalized" for gene expression. highlight_expressing grays out non-expressing cells.
| Name | Type | Default | Description |
|---|---|---|---|
plot_type | select | umap | umap/tsne/pca/scatter. |
color_by | obs column | leiden | Comma-separated obs columns. |
gene_symbols | array | — | Comma-separated genes for expression overlay. |
layer | layer | auto | "auto" uses adata.raw if available. |
use_raw | checkbox | false | Use adata.raw for expression values (overridden by layer='auto' logic). |
cmap | select | viridis | Colormap. |
custom_cmap_low | color | — | Custom colormap LOW endpoint (hex color, e.g. '#440154'). When both custom_cmap_low and custom_cmap_high are set, the cmap dropdown is overridden by a 2-color linear gradient from low → high. |
custom_cmap_high | color | — | Custom colormap HIGH endpoint (hex color, e.g. '#fde725'). Paired with custom_cmap_low. |
publication_quality | checkbox | false | Generate high-resolution (300 DPI) publication-quality figure. |
size | number | 20 | Point size. |
figsize | array | [8, 6] | Figure size [width, height] in inches. |
title | text | — | Custom plot title. Empty = auto-generated from color_by. |
font_size | number | — | Font size for all plot text (labels, legend, title). null = matplotlib default. |
vmin | number | — | Minimum value for the color scale. null = data minimum (scanpy default). |
vmax | number | — | Maximum value for the color scale. null = data maximum. |
highlight_expressing | checkbox | false | Gray out expr=0 cells. |
frameon | checkbox | false | Show axis frame around the embedding plot. |
ncols | number | 4 | Subplots per row. |
wspace | number | — | Width spacing between subplots when plotting multiple color_by values. null = renderer default. |
x | text | total_counts | [scatter plot_type only] X-axis obs column. |
y | text | n_genes_by_counts | [scatter plot_type only] Y-axis obs column. |
