Converting any SpatialData object into files that can be open by the Xenium Explorer
Project description
SpatialData to Xenium Explorer
Converting any SpatialData
object into files that can be open by the Xenium Explorer.
Xenium Explorer is a registered trademark of 10x Genomics
Installation
Requirement: python>=3.9
pip install spatialdata_xenium_explorer
Usage
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 (make sure you have the latest version of the software).
CLI
spatialdata_xenium_explorer write /path/to/sdata.zarr
Check our documentation for more details.
API
import spatialdata
import spatialdata_xenium_explorer
sdata = spatialdata.read_zarr("...")
spatialdata_xenium_explorer.write("/path/to/directory", sdata, image_key, shapes_key, points_key, gene_column)
Check our documentation for more details.
Contributing
This package is still in early development. Contributions are welcome (new issues, pull requests, ...).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for spatialdata_xenium_explorer-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76d4cc6d292b5102f7b28913741de46b6b75d3ce24c303298d27f57a6bb614ce |
|
MD5 | b2ff08a426e0efbffbccd7005c209a9e |
|
BLAKE2b-256 | 64b4cbcc0b38aa157b34f08be1a6beef56db97cc34fe0c309ec182691934a6f9 |
Hashes for spatialdata_xenium_explorer-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4fb3e557756ce5902c30921fbb62f530cab490fbde6fd094f6ce0d1647f043 |
|
MD5 | 04391cce496596e7ea49db25a036e812 |
|
BLAKE2b-256 | 381c2b463d08da679e827652151c9e60b1d94a7f9e823945071d98e2c3c779bb |