Skip to main content

Implementation of multiplex Leiden for analysis of (multimodal) spatial omics data.

Project description

SpatialLeiden

License: GPL v3+ Code style: Ruff Checked with mypy pre-commit Docs PyPI install with bioconda

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/.

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

spatialleiden-0.4.0.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spatialleiden-0.4.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file spatialleiden-0.4.0.tar.gz.

File metadata

  • Download URL: spatialleiden-0.4.0.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spatialleiden-0.4.0.tar.gz
Algorithm Hash digest
SHA256 f3f9080a5707ba2cb76c5afc0099173692781cddcbe499a193614b1cdf3cb67d
MD5 669c261e1dc1b99ea3e436096120e5e5
BLAKE2b-256 d60bed7b63a2914379395bf3cc575ac2f1a32849d77eb50fc8d1922ab57c17f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for spatialleiden-0.4.0.tar.gz:

Publisher: publish-pypi.yml on HiDiHlabs/SpatialLeiden

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spatialleiden-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: spatialleiden-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spatialleiden-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb1e76a681d2663c28870af04fdd3060e374b037a1b8e542090755ff1d43741e
MD5 ccb76c5a4ccccc885b4645de5b09d594
BLAKE2b-256 60d64d62161e229d799faffd38326cfa483fa7750c05568df6b6a87640758925

See more details on using hashes here.

Provenance

The following attestation bundles were made for spatialleiden-0.4.0-py3-none-any.whl:

Publisher: publish-pypi.yml on HiDiHlabs/SpatialLeiden

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page