Skip to main content

Metabolic cell-cell communication inference in spatial transcriptomics.

Project description

Harreman

License Stars PyPI Harreman Coverage Code Style Downloads Docs

Harreman is an algorithm and open-source software for inference of metabolic exchanges in tissues using spatial transcriptomics. Harreman employs a series of spatial correlation statistics to enable multiscale insight: from stratification of tissues into regions with different metabolic characteristics, to inference of which metabolites are exchanged within each region, and to identification of the specific subsets of cells that are exchanging these metabolites (through import and export reactions).

overview

Resources

  • Tutorials, user guide, API reference, installation guide, and release notes are available in the Documentation.

Installation

We suggest using a package manager like conda or mamba to install the package.

conda create -n harreman-env python=3.12
conda activate harreman-env
pip install harreman

Tutorials

  • For tutorials on how to run the PyTorch version of Hotspot with Harreman, visit the Hotspot tutorials.
  • To get familiar with the Harreman pipeline on the case studies used in the manuscript, visit the Harreman tutorials.

Test statistics

All test statistics available in the Harreman pipeline are described in the User guide. Currently implemented test statistics are:

  • Test statistic 1: Is gene a spatially autocorrelated?
  • Test statistic 2: Are genes a and b spatially co-localized (or interacting with each other)?
  • Test statistic 3: Is metabolite m spatially autocorrelated?
  • Test statistic 4: Are metabolites $m_1$ and $m_2$ spatially co-localized?
  • Test statistic 5: Do genes a and b interact when expressed by cell types t and u, respectively?
  • Test statistic 6: Is metabolite m exchanged by cell types t and u?
  • Test statistic 7: Do genes a and b interact when a is expressed by cell i and b by spatially nearby cells?
  • Test statistic 8: Is metabolite m exchanged by cell i and other spatially proximal cells?
  • Test statistic 9: Do genes a and b interact when a is expressed by cell i (that belongs to cell type t) and b by spatially nearby cells (that belong to cell type u)?
  • Test statistic 10: Is metabolite m exchanged by cell i (that belongs to cell type t) and other spatially proximal cells (that belong to cell type u)?

Reference

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

harreman-0.1.4.tar.gz (509.2 kB view details)

Uploaded Source

Built Distribution

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

harreman-0.1.4-py3-none-any.whl (540.9 kB view details)

Uploaded Python 3

File details

Details for the file harreman-0.1.4.tar.gz.

File metadata

  • Download URL: harreman-0.1.4.tar.gz
  • Upload date:
  • Size: 509.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for harreman-0.1.4.tar.gz
Algorithm Hash digest
SHA256 12f42bd4252327312bd4f804ed5bd10232f65dd64984f274ac082484c505eabf
MD5 e9dfb00dfd213f0726f274d43880d393
BLAKE2b-256 a51ba18c24682b6b91b5cb9a8d92cfc79c4448bc24f47b50e1986a19bd8d8745

See more details on using hashes here.

Provenance

The following attestation bundles were made for harreman-0.1.4.tar.gz:

Publisher: release.yml on YosefLab/Harreman

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file harreman-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: harreman-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 540.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for harreman-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 59666873e7e1c52a4b7317e1f652d98abeda87c26eb19d845ef230e146811102
MD5 569b59094f69e0096aca72e954cc4fe0
BLAKE2b-256 720e88410736122173e71bac938a5717922bf5a1656858a1e45f49d2292f834b

See more details on using hashes here.

Provenance

The following attestation bundles were made for harreman-0.1.4-py3-none-any.whl:

Publisher: release.yml on YosefLab/Harreman

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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