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

Uploaded Source

Built Distribution

graphcompass-0.1.0-py3-none-any.whl (26.5 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