Skip to main content

Beta-variational autoencoder for IMS (and other) data.

Project description

sisal

License PyPI Python Version CI codecov

The SiSAL package is an approach based on the beta-variational autoencoder and kernel density estimation to dissect data along independent, uncertainty-aware, and interpretable (yet non-linear) latent axes. It includes a novel comparative-latent-traversal algorithm to translate latent findings back into the original measurement context. You can find demonstrations in the /experiments folder. It includes an imaging mass spectrometry-based molecular imaging of human kidney and a synthetic dataset. The approach’s disentangling properties are shown to impose a latent space structure that separates signal strength from relative signal content, offering exceptional chemical insight.

Installing

You can install sisal from PyPI:

pip install sisal

or directly from source:

git clone https://github.com/vandeplaslab/sisal.git

pip install "."

Examples

If you are planning on running the examples, you can install the optional dependencies with:

pip install sisal[demo]

This will include additional packages such as jupyterlab and pooch to download data from Zenodo.

You can find the example data on Zenodo.

Contributing

Contributions are always welcome. Please feel free to submit PRs with new features, bug fixes, or documentation improvements.

git clone https://github.com/vandeplaslab/sisal.git

pip install -e .[dev]

Figures

Kidney imaging mass spectrometry datasets


Figure 1: Kernel density estimation of the latent space generated by the SiSAL approach together with the associated masks.

Figure 2 (latent traversal): Traversal example between the two highlighted regions.

Figure 3 (feature differentiators): The traversal algorithm extracts the most important molecular features between the two regions.

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

sisal-0.1.0.tar.gz (407.8 kB view details)

Uploaded Source

Built Distribution

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

sisal-0.1.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sisal-0.1.0.tar.gz
  • Upload date:
  • Size: 407.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sisal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d54198e23943cd2b15ec1f705ea3618e6bf25ba88db6764c265764cea395fa9d
MD5 8d5c39b61c3e7c3c0abd67c434b484f5
BLAKE2b-256 9fd23a4ae76e0068e7a47ab1816ab617e819a18153b6ef8f8d03b781688a2b64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sisal-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sisal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4eb8009189322686b769d43c65fd3b2b5de015e0881192dc06408e44af5b76f1
MD5 61b193afc89e0ab38c06b642a581ba6a
BLAKE2b-256 5c7d75d3fcc4626875645ed681a7c80e8a7f29a640f723d741585bb50427901a

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