A Python package for the identification, characterization and comparison of spatial clusters from spatial -omics data.
Background
Spatial clustering determines cellular niches characterized by specific admixing of these populations. It assigns cells to clusters based on both their intrinsic features (e.g., protein or mRNA expression), and the features of neighboring cells in the tissue.
CellCharter is able to automatically identify spatial clusters, and offers a suite of approaches for cluster characterization and comparison.
Getting started
Please refer to the documentation. In particular, the
Installation
CellCharter uses Python < 3.11 and PyTorch <= 1.12.1. If you are planning to use a GPU, make sure to download and install the correct version of PyTorch first.
In CellCharter, only the dimensionality reduction and batch correction step is dependent on the data type. In particular, it uses:
- scVI for spatial transcriptomics data such as 10x Visium and Xenium, Nanostring CosMx, Vizgen MERSCOPE, Stereo-seq, DBiT-seq, MERFISH and seqFISH data.
- A modified version of scArches's TRVAE model for spatial proteomics data such as Akoya CODEX, Lunaphore COMET, CyCIF, IMC and MIBI-TOF data.
By installing CellCharter without specifying the type of data, as in the following code, it will install without any of the two models.
pip install cellcharter
However, you can include in the installation the type of data (transcriptomics and/or proteomics) you are planning to analyze, and it will install the required dependencies.
pip install cellcharter[transcriptomics]
Contribution
If you found a bug or you want to propose a new feature, please use the issue tracker.
Metadata
Release files for cellcharter 0.2.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 | Provenance | Actions |
|---|---|---|---|---|
| cellcharter-0.2.0.tar.gz | 38.1 kB | Without provenance | Details for cellcharter-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cellcharter-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for cellcharter-0.2.0-py3-none-any.whl |
Total release size: 80.0 kB
Release files / cellcharter-0.2.0.tar.gz
| Download URL | cellcharter-0.2.0.tar.gz |
|---|---|
| Size | 38.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c5fb32f5461ec8371dbf375462492029fa05c51d33a4a54e51402e804d42092
|
|
BLAKE2b-256 checksum How to use checksums |
9f541de39b443f24fd8a6e99245e1aada5387614b112a3ed72f426c196f81682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.0
|
Release files / cellcharter-0.2.0-py3-none-any.whl
| Download URL | cellcharter-0.2.0-py3-none-any.whl |
|---|---|
| Size | 41.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cd9abd064aef3209a8d3d4c6a377cc7eb89ce3fc06e4ae69e5f7f7ee58d11e9
|
|
BLAKE2b-256 checksum How to use checksums |
8cbccbc0183a505307df023d10badefdbf89a159c036fca9ed840172769895d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.0
|
Security for cellcharter 0.2.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.