Skip to main content

pyclustree

Version License GitHub Actions Workflow Status Documentation Status Codecov Python Version Required DOI

Visualize cluster assignments at different resolutions. Possbile applications include finding the optimal resolution for single-cell RNA-sequencing clusterings.

pyclustree is inspired by the R package clustree (Github repository), however, while we aim to provide the same functionality, the API will differ between the implementations.

Getting started

Please refer to the documentation.

Installation

You need to have Python 3.10 or newer installed on your system. If you don't have Python installed, we recommend installing Mambaforge.

There are several alternative options to install pyclustree:

  1. Install the latest release of pyclustree from PyPI:
pip install pyclustree
  1. Install the latest development version:
pip install git+https://github.com/complextissue/pyclustree.git@dev

Contact

If you found a bug, please use the issue tracker.

Authors

@maltekuehl @harryhaller001

Unaffiliated with the creators of the R package clustree.

License

Please refer to the LICENSE file.

Citation

Please cite both the original R package as well as this implementation when using pyclustree. For example: Cluster resolution was determined based on visualization with pyclustree (Kuehl et al., 2024), a Python implementation of clustree (Zappia et al., 2018).

  • pyclustree: Kuehl, M., Hellmig, M., & Puelles, V. G. (2024). pyclustree: Visualizing cluster resolution optimization for biomedical data (0.3.1). Zenodo. https://doi.org/10.5281/zenodo.13987570
  • clustree: Zappia, L., & Oshlack, A. (2018). Clustering trees: a visualization for evaluating clusterings at multiple resolutions. Gigascience, 7(7), giy083.

Release files for pyclustree 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyclustree 0.4.1
File Size Uploaded
pyclustree-0.4.1.tar.gz 29.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyclustree 0.4.1
File Interpreter ABI Platform
pyclustree-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 52.0 kB

Release files / pyclustree-0.4.1.tar.gz

Download URL pyclustree-0.4.1.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a8b6fa896483605b900d89c135e67a12cd9f0b3dd9f88787a2fda1787b0b8b6b
BLAKE2b-256 checksum
How to use checksums
0ab999eaa0f093f0fa495399fe22b976fa0d6c09902fe9822ac8131720d41165
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release files / pyclustree-0.4.1-py3-none-any.whl

Download URL pyclustree-0.4.1-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
740893e4848edc050f4136a5d14096c73ac4949fe067e733de2c506c1b032cf1
BLAKE2b-256 checksum
How to use checksums
6d400bef85f25b05805adcfb5bd92e7ad41ae95539ca469effea78477b91a836
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.3

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page