Commit cf609a1
committed
Add colouring by expression example (tables, layers, gene symbols)
New examples/colouring_by_expression.ipynb on the real Visium mouse-brain
dataset (squidpy), documenting where render_* reads colour values from:
- color= by a gene (from the annotating table's X)
- table_layer= to read from a specific matrix (adds a log1p layer, raw vs lognorm)
- gene_symbols= to look genes up by symbol when var is ID-indexed
- table_name= to choose among multiple annotating tables
The dataset ships a single raw table, so the notebook constructs the layer,
the gene-ID index, and a second QC table in-notebook to demonstrate each arg.
Executed against spatialdata-plot v0.4.1; committed with outputs. Adds the
examples gallery card + toctree + thumbnail. Closes Group C of the round-2
doc-coverage analysis.1 parent 9482378 commit cf609a1
3 files changed
Lines changed: 406 additions & 0 deletions
Loading
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
33 | 43 | | |
34 | 44 | | |
35 | 45 | | |
| 46 | + | |
36 | 47 | | |
0 commit comments