Skip to main content

A Python package for the identification, characterization and comparison of spatial clusters from spatial -omics data.

Project description

A Python package for the identification, characterization and comparison of spatial clusters from spatial -omics data.


DocumentationExamplesPaper

Tests Documentation

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.

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

cellcharter-0.2.0.tar.gz (38.1 kB view hashes)

Uploaded Source

Built Distribution

cellcharter-0.2.0-py3-none-any.whl (41.9 kB view hashes)

Uploaded Python 3

Supported by

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