Skip to main content

A python implement of CadaST

Project description

Probabilistic-Graph Based Spatial Context-Aware Framework for Interpretable Spatial Omics Denoising and Augmentation

Description

CadaST

This project is a python implementation of CadaST, a spatial omics data denoising and augmenting method based on similarity graph. The method is proposed in the paper Probabilistic-Graph Based Spatial Context-Aware Denoising and Augmenting in Spatial Omics. The method is implemented in the class CadaST in model.py.

Installation

Use pip to install the package in your python environment.

conda create -n cadaST python=3.9
conda activate cadaST
pip install cadaST

To enable clustering method 'mclust', you shall install R package 'mclust'

pip install rpy2
Rscript -e "install.packages('mclust')"

Usage

To get detailed tutorial, please refer to the tutorial.

Parameters

  • beta $\beta$: The scaling weight for the similarity graph.
  • alpha $\alpha$: The scaling weight for correlation matrix.
  • theta $\theta$: The decay value for non-matching labels in the label matrix.
  • n_jobs: The number of processes used for parallel computing.
  • kneighbors: The k-Nearest Neighbors to construct graph.

Contributing

Contribution is welcomed! Here’s how you can help:

  • Report bugs or suggest features using GitHub Issues.
  • Fork the repository and create a new branch for your feature or bugfix.
  • Submit a pull request and ensure that all tests pass.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

cadast-0.1.0.tar.gz (711.4 kB view details)

Uploaded Source

Built Distribution

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

cadast-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cadast-0.1.0.tar.gz
  • Upload date:
  • Size: 711.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for cadast-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a431383d685b1d7938294ff7ee7f65548cf4593af6f9c2e2063f2abadb1cc94d
MD5 117cf5c18d5eacb4d590650cf9500123
BLAKE2b-256 2ddba6ce0c96f4748c233b5c4da1eab98fa054bff8d64fb37776c9e54074acc2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cadast-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for cadast-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f698b238ba01e7f42c978df4c5bb124134da231ebe2ada58a25be25267b7835
MD5 98a7604fe0acda8ec4451d3576b65767
BLAKE2b-256 3dbfed8eaf697d6758d74f9bce54aebad356849c89ac77b4259e32076e93bae3

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