Skip to main content

Spatial metrics for differential analyses of cell organization across conditions

Project description

GraphCompass

GraphCompass (Graph Comparison Tools for Differential Analyses in Spatial Systems) is a Python-based framework that brings together a robust suite of graph analysis and visualization methods, specifically tailored for the differential analysis of cell spatial organization using spatial omics data.

It is developed on top on Squidpy and AnnData.

Features

GraphCompass provides differential analysis methods to study spatial organization across conditions at three levels of abstraction:

  1. Cell-type-specific subgraphs:

    i. Portrait method,

    ii. Diffusion method.

  2. Cellular neighborhoods:

    i. GLMs for neighborhood enrichment analysis.

  3. Entire graphs:

    i. Wasserstein WL kernel,

    ii. Filtration curves.

Tutorials for the different methods can be found in the notebooks folder.

Requirements

You will find all the necessary dependencies in the requirements.txt file:

$ pip install -r requirements.txt

[COMING SOON] All dependencies will be moved to pyproject.toml

Installation

You can install GraphCompass by cloning the repository and running:

$ pip install -e .

[COMING SOON] You can install GraphCompass via pip from PyPI.

Usage

Contributing

[COMING SOON] Contributions are very welcome. To learn more, see the [Contributor Guide].

License

Distributed under the terms of the MIT license, GraphCompass is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

[COMING SOON] [contributor guide]: https://github.com/theislab/graphcompass/blob/main/CONTRIBUTING.md

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

graphcompass-0.1.0.tar.gz (596.5 kB view details)

Uploaded Source

Built Distribution

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

graphcompass-0.1.0-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file graphcompass-0.1.0.tar.gz.

File metadata

  • Download URL: graphcompass-0.1.0.tar.gz
  • Upload date:
  • Size: 596.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for graphcompass-0.1.0.tar.gz
Algorithm Hash digest
SHA256 64a372caf40f9f0c86d4c2daf98563335912c44afba5ecc32af6d1b66e21264f
MD5 57c586bb8a0a5b4cf3058a66463e9a8b
BLAKE2b-256 01f6b2c665546d5a9aa6a6b8e9279d98905ac0e208f328e58c4f65c3c72775fc

See more details on using hashes here.

File details

Details for the file graphcompass-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: graphcompass-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for graphcompass-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c18aa2928caf239c814024fe85290b11e38383d3a922dd3b05d68260a563fe6
MD5 e41b388aa3ea07be135034fd4817494a
BLAKE2b-256 91b8a8f02123f31776b4408c84f9d3b2f9a7b02bb1ca956d113255abafcc493a

See more details on using hashes here.

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