Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Commit 78f98e4

Browse files
release v0.1.4
1 parent 93fbd15 commit 78f98e4

8 files changed

Lines changed: 84 additions & 28 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## [0.1.4] - 2024-01-11
2+
3+
### Fix
4+
- When a table is sorted or filtered, the polygons are written in the right order (#2)
5+
6+
### Change
7+
- Now forces using `spatialdata>=0.0.15`
8+
9+
## [0.1.3] - 2023-12-08
10+
11+
### Added
12+
- New CLI
13+
- Documentation
14+
- Support both spatial images and multi-scale spatial images
15+
- Better memory management during conversion
16+
- Support image alignment with the explorer
17+
- Conversion between explorer ID and AnnData ID

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ Requirement: `python>=3.9`
2222
pip install spatialdata_xenium_explorer
2323
```
2424

25+
## Features
26+
27+
- Conversion of the following data: images, cell boundaries (polygons), transcripts, cell-by-gene table, and cell categories (or observations).
28+
- Image alignment can be made on the Xenium Explorer, and then the `SpatialData` object can be updated
29+
- When working on the `SpatialData` or `AnnData` object, new cell categories can be easily and quickly added to the Explorer
30+
- When selecting cells with the "lasso tool" on the Explorer, it's easy to select back these cells on the `SpatialData` or `AnnData` object
31+
2532
## Usage
2633

2734
You can use our CLI or API, see examples below. It will create up to 6 files, among which a file called `experiment.xenium`. Double-click on this file to open it on the [Xenium Explorer](https://www.10xgenomics.com/support/software/xenium-explorer/downloads) (make sure you have the latest version of the software).

docs/cite_us.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
This library has been detailed in a more general article spatial omics analysis, see the [Sopa library](https://github.com/gustaveroussy/sopa).
2+
The latter article is not published yet, but you can cite our [preprint](https://www.biorxiv.org/content/10.1101/2023.12.22.571863v1):
3+
4+
```txt
5+
@article {Blampey2023.12.22.571863,
6+
author = {Quentin Blampey & Kevin Mulder et al.},
7+
title = {Sopa: a technology-invariant pipeline for analyses of image-based spatial-omics},
8+
elocation-id = {2023.12.22.571863},
9+
year = {2023},
10+
doi = {10.1101/2023.12.22.571863},
11+
publisher = {Cold Spring Harbor Laboratory},
12+
URL = {https://www.biorxiv.org/content/early/2023/12/23/2023.12.22.571863},
13+
eprint = {https://www.biorxiv.org/content/early/2023/12/23/2023.12.22.571863.full.pdf},
14+
journal = {bioRxiv}
15+
}
16+
```
17+
18+
This library has been developed by Quentin Blampey, PhD student in Biomathematics / Deep Learning. The following institutions funded this work:
19+
20+
- Lab of Mathematics and Computer Science (MICS), **CentraleSupélec** (Engineering School, Paris-Saclay University).
21+
- PRISM center, **Gustave Roussy Institute** (Cancer campus, Paris-Saclay University).

docs/index.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,12 @@
22

33
Converting any [`SpatialData`](https://github.com/scverse/spatialdata) object into files that can be open by the [Xenium Explorer](https://www.10xgenomics.com/support/software/xenium-explorer).
44

5-
> *Xenium Explorer* is a registered trademark of 10x Genomics
5+
> *Xenium Explorer* is a registered trademark of 10x Genomics
6+
7+
You may also be interested in a pipeline for spatial-omics that uses this conversion to Xenium Explorer: see [Sopa](https://github.com/gustaveroussy/sopa).
8+
9+
## Features
10+
- Conversion of the following data: images, cell boundaries (polygons), transcripts, cell-by-gene table, and cell categories (or observations).
11+
- Image alignment can be made on the Xenium Explorer, and then the `SpatialData` object can be updated
12+
- When working on the `SpatialData` or `AnnData` object, new cell categories can be easily and quickly added to the Explorer
13+
- When selecting cells with the "lasso tool" on the Explorer, it's easy to select back these cells on the `SpatialData` or `AnnData` object

mkdocs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
site_name: spatialdata_xenium_explorer
22
repo_name: spatialdata_xenium_explorer
3+
repo_url: https://github.com/quentinblampey/spatialdata_xenium_explorer
34
copyright: Copyright © 2023 - 2024 Quentin Blampey
45
theme:
56
name: material
67
nav:
78
- Home: index.md
8-
- Getting Started: getting_started.md
9-
- CLI: cli.md
10-
- API: api.md
9+
- Getting Started: getting_started
10+
- CLI: cli
11+
- API: api
12+
- Cite us: cite_us
1113
plugins:
1214
- search
1315
- mkdocstrings

poetry.lock

Lines changed: 22 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "spatialdata_xenium_explorer"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
description = "Converting any SpatialData object into files that can be open by the Xenium Explorer"
55
documentation = "https://quentinblampey.github.io/spatialdata_xenium_explorer/"
66
homepage = "https://quentinblampey.github.io/spatialdata_xenium_explorer/"
@@ -24,7 +24,7 @@ spatialdata_xenium_explorer = "spatialdata_xenium_explorer.main:app"
2424
[tool.poetry.dependencies]
2525
python = ">=3.9,<3.11"
2626
botocore = "^1.31.47"
27-
spatialdata = "^0.0.12"
27+
spatialdata = "^0.0.15"
2828
typer = "^0.9.0"
2929

3030
[tool.poetry.group.dev.dependencies]

spatialdata_xenium_explorer/cli/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def add_aligned(
111111
),
112112
original_image_key: str = typer.Option(
113113
None,
114-
help="Optional original-image key on which the new image will be aligned. This doesn't need to be provided if there is only one image",
114+
help="Optional original-image key (of sdata.images) on which the new image will be aligned. This doesn't need to be provided if there is only one image",
115115
),
116116
overwrite: bool = typer.Option(False, help="Whether to overwrite the image if existing"),
117117
):

0 commit comments

Comments
 (0)