SpatialLeiden
SpatialLeiden is an implementation of
Multiplex Leiden clustering
that can be used to cluster spatially resolved omics data.
SpatialLeiden integrates with the scverse by leveraging
anndata but can also be used independently.
Installation
spatialleiden is available on PyPI and
bioconda.
# PyPI
pip install spatialleiden
# or conda
conda install bioconda::spatialleiden
For detailed installation instructions please refer to the documentation.
Documentation
For documentation of the package please refer to the ReadTheDocs page.
Citations
If you are using spatialleiden for your research please cite
Müller-Bötticher, N., Sahay, S., Eils, R., & Ishaque, N. (2025). SpatialLeiden: spatially aware Leiden clustering. Genome Biology, 26(1), 24. https://doi.org/10.1186/s13059-025-03489-7
@article{spatialleiden2025,
author = {Müller-Bötticher, Niklas and Sahay, Shashwat and Eils, Roland and Ishaque, Naveed},
title = {SpatialLeiden: spatially aware Leiden clustering},
journal = {Genome Biology},
year = {2025},
month = {Feb},
day = {07},
volume = {26},
number = {1},
pages = {24},
doi = {10.1186/s13059-025-03489-7},
url = {https://doi.org/10.1186/s13059-025-03489-7}
}
Versioning
This project follows the SemVer guidelines for versioning.
License
Copyright (C) 2025 N. Müller-Bötticher, S. Sahay, N. Ishaque, R. Eils, HiDiHlabs
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Metadata
Release files for spatialleiden 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| spatialleiden-0.4.0.tar.gz | 27.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spatialleiden-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.4 kB
Release files / spatialleiden-0.4.0.tar.gz
| Download URL | spatialleiden-0.4.0.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3f9080a5707ba2cb76c5afc0099173692781cddcbe499a193614b1cdf3cb67d
|
|
BLAKE2b-256 checksum How to use checksums |
d60bed7b63a2914379395bf3cc575ac2f1a32849d77eb50fc8d1922ab57c17f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2025.
Transparency logRelease files / spatialleiden-0.4.0-py3-none-any.whl
| Download URL | spatialleiden-0.4.0-py3-none-any.whl |
|---|---|
| Size | 20.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb1e76a681d2663c28870af04fdd3060e374b037a1b8e542090755ff1d43741e
|
|
BLAKE2b-256 checksum How to use checksums |
60d64d62161e229d799faffd38326cfa483fa7750c05568df6b6a87640758925
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2025.
Transparency log