|
9 | 9 | "\n", |
10 | 10 | "This tutorial walks through visualising a real 10x Genomics Visium experiment with `spatialdata-plot`: H&E tissue image, spot polygons, gene expression overlays, and publication-style styling.\n", |
11 | 11 | "\n", |
12 | | - "**Dataset**: [Human Breast Cancer (Block A Section 1)][10x] from 10x Genomics — fetched once via `scanpy.datasets.visium_sge` and cached by `pooch` for subsequent runs.\n", |
| 12 | + "**Dataset**: [Human Breast Cancer (Block A Section 1)][10x] from 10x Genomics \u2014 fetched once via `scanpy.datasets.visium_sge` and cached by `pooch` for subsequent runs.\n", |
13 | 13 | "\n", |
14 | | - "**Credit**: the example progression in this tutorial — H&E + spots, gene-expression overlays, outline styling — was originally curated by [@asarigun](https://github.com/asarigun) in [scverse/spatialdata-plot#590](https://github.com/scverse/spatialdata-plot/pull/590).\n", |
| 14 | + "**Credit**: the example progression in this tutorial \u2014 H&E + spots, gene-expression overlays, outline styling \u2014 was originally curated by [@asarigun](https://github.com/asarigun) in [scverse/spatialdata-plot#590](https://github.com/scverse/spatialdata-plot/pull/590).\n", |
15 | 15 | "\n", |
16 | 16 | "[10x]: https://www.10xgenomics.com/datasets/human-breast-cancer-block-a-section-1-1-standard-1-1-0" |
17 | 17 | ] |
|
43 | 43 | "data": { |
44 | 44 | "text/plain": [ |
45 | 45 | "SpatialData object\n", |
46 | | - "├── Images\n", |
47 | | - "│ └── 'tissue': DataArray[cyx] (3, 2000, 2000)\n", |
48 | | - "├── Shapes\n", |
49 | | - "│ └── 'spots': GeoDataFrame shape: (3798, 2) (2D shapes)\n", |
50 | | - "└── Tables\n", |
51 | | - " └── 'table': AnnData (3798, 36601)\n", |
| 46 | + "\u251c\u2500\u2500 Images\n", |
| 47 | + "\u2502 \u2514\u2500\u2500 'tissue': DataArray[cyx] (3, 2000, 2000)\n", |
| 48 | + "\u251c\u2500\u2500 Shapes\n", |
| 49 | + "\u2502 \u2514\u2500\u2500 'spots': GeoDataFrame shape: (3798, 2) (2D shapes)\n", |
| 50 | + "\u2514\u2500\u2500 Tables\n", |
| 51 | + " \u2514\u2500\u2500 'table': AnnData (3798, 36601)\n", |
52 | 52 | "with coordinate systems:\n", |
53 | | - " ▸ 'global', with elements:\n", |
| 53 | + " \u25b8 'global', with elements:\n", |
54 | 54 | " tissue (Images), spots (Shapes)" |
55 | 55 | ] |
56 | 56 | }, |
|
283 | 283 | "source": [ |
284 | 284 | "## Coloring spots by a category\n", |
285 | 285 | "\n", |
286 | | - "`color=` also accepts categorical columns — here, the `in_tissue` flag 10x sets to mark spots that fall on tissue." |
| 286 | + "`color=` also accepts categorical columns \u2014 here, the `in_tissue` flag 10x sets to mark spots that fall on tissue." |
287 | 287 | ] |
288 | 288 | }, |
289 | 289 | { |
|
375 | 375 | "source": [ |
376 | 376 | "## Where to next\n", |
377 | 377 | "\n", |
378 | | - "- **API reference** — every parameter of `render_shapes`, `render_images`, and `show()` is documented in the [plotting API](https://spatialdata.scverse.org/projects/plot/en/latest/api.html).\n", |
379 | | - "- **Getting started tutorial** — if you skipped it, the [Getting started](./getting_started.ipynb) tutorial covers the same fluent API on the lightweight built-in `blobs` dataset.\n", |
380 | | - "- **Contributing** — found a missing example? Open a PR on [`spatialdata-plot-notebooks`](https://github.com/scverse/spatialdata-plot-notebooks)." |
| 378 | + "- **API reference** \u2014 every parameter of `render_shapes`, `render_images`, and `show()` is documented in the [plotting API](https://spatialdata.scverse.org/projects/plot/en/latest/api.html).\n", |
| 379 | + "- **Getting started tutorial** \u2014 if you skipped it, the [Getting started](./getting_started.ipynb) tutorial covers the same fluent API on the lightweight built-in `blobs` dataset.\n", |
| 380 | + "- **Contributing** \u2014 found a missing example? Open a PR on [`spatialdata-plot-notebooks`](https://github.com/scverse/spatialdata-plot-notebooks)." |
381 | 381 | ] |
382 | 382 | } |
383 | 383 | ], |
|
0 commit comments