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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vima_spatial-0.2.1.tar.gz.
File metadata
- Download URL: vima_spatial-0.2.1.tar.gz
- Upload date:
- Size: 42.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
787f1fb912607a3a222e7c2674d42320f7d2d4db5e61d092daa63a65f76b8abe
|
|
| MD5 |
6d3d60d3fc6031f1ee2daee17305b0c0
|
|
| BLAKE2b-256 |
91b8d2d2c435ed34255725c18d0c02708032e03fe46c6506a2f9d19e8d5560e1
|
File details
Details for the file vima_spatial-0.2.1-py3-none-any.whl.
File metadata
- Download URL: vima_spatial-0.2.1-py3-none-any.whl
- Upload date:
- Size: 50.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ffdd5a863d962738a682d1d3a313a3736dd33fec8d0c7fb786a332c05e606f5
|
|
| MD5 |
b3aaea1a5d4cdd39a83a7b8b03230893
|
|
| BLAKE2b-256 |
f2fd8d9d79789333c4ab531e2ff6d3cb08f5ac7a2fbdd18a585adf7c4653a58e
|