Skip to main content

variational inference-based microniche analysis

Project description

vima

Variational inference-based microniche analysis is a method for conducting case-control analysis on multi-sample spatial molecular datasets. vima can be applied to any spatially resolved molecular technology, is well powered even at the modest sample sizes typical of research cohorts, and avoids traditional, parameter-intensive preprocessing steps such as cell segmentation or clustering of cells into discrete cell types. It works by treating each spatial sample as an image and using a variational autoencoder to extract numerical "fingerprints" from small tissue patches that capture their biological content. It uses these fingerprints to define a large number of "microniches" – small, potentially overlapping groups of tissue patches with highly similar biology that span multiple samples. It then uses rigorous permutation testing to identify microniches whose abundance correlates significantly with case-control status after accounting for multiple testing.

installation

vima can be installed via pip as follows:

pip install vima-spatial

demo

Take a look at our demo to see how to get started with an example analysis. We plan to put up demos for other data modalities in the future.

citation

If you use vima, please cite:

Y. Reshef, et al. Powerful and accurate case-control analysis of spatial molecular data. bioRxiv. https://doi.org/10.1101/2025.02.07.637149v1.

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

vima_spatial-0.2.2.tar.gz (43.6 kB view details)

Uploaded Source

Built Distribution

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

vima_spatial-0.2.2-py3-none-any.whl (52.0 kB view details)

Uploaded Python 3

File details

Details for the file vima_spatial-0.2.2.tar.gz.

File metadata

  • Download URL: vima_spatial-0.2.2.tar.gz
  • Upload date:
  • Size: 43.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for vima_spatial-0.2.2.tar.gz
Algorithm Hash digest
SHA256 640421bef90fb4f99da6be11a8f2cba12dfe91d9ce7bcc1869d85096ee9d82d7
MD5 ca5683d4565ac8f4c0b02dc906654dff
BLAKE2b-256 fe9351a5d6a110438a6690566e322213eedffeec686d8cdfe52459815749836e

See more details on using hashes here.

File details

Details for the file vima_spatial-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: vima_spatial-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 52.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for vima_spatial-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 efe01237bb5b125cd82304eaf632164ba0c1dce431f2ed84d27c1b5a9f13a69e
MD5 a6f43d65421df2f2b22f0f9035e09cee
BLAKE2b-256 e990f937e5338c7cacc1b04e4a1c9f0f57c11018566152c8b6d1d4f9cc821e58

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