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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file cellcharter-0.2.0.tar.gz.

File metadata

  • Download URL: cellcharter-0.2.0.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for cellcharter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1c5fb32f5461ec8371dbf375462492029fa05c51d33a4a54e51402e804d42092
MD5 94b186f0d177b47ada4aa03d021b0181
BLAKE2b-256 9f541de39b443f24fd8a6e99245e1aada5387614b112a3ed72f426c196f81682

See more details on using hashes here.

File details

Details for the file cellcharter-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: cellcharter-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0

File hashes

Hashes for cellcharter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cd9abd064aef3209a8d3d4c6a377cc7eb89ce3fc06e4ae69e5f7f7ee58d11e9
MD5 7b22ffe35e285043b0fa5b866d921025
BLAKE2b-256 8cbccbc0183a505307df023d10badefdbf89a159c036fca9ed840172769895d6

See more details on using hashes here.

Supported by

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