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.0.6.tar.gz (711.2 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.0.6-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cadast-0.0.6.tar.gz
Algorithm Hash digest
SHA256 e1cd747b8c7d9e3b2299ef692775d48dc3a42b28c48004f81fd8b2a78e48f2d3
MD5 da29cc65caef9b509b880b3aa5b5a332
BLAKE2b-256 503edfb1f7b40250c3ad2d3d86837cb6445f6e240a2e1856e173614295974f00

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for cadast-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d82640077ec22d36632c16a1f2b056e9dd181d9a185253058793f580c96438ab
MD5 1e481cccb6a6ebb12e483300952708dc
BLAKE2b-256 f48c6e1a23b204d1ed2c387760e44d1bdc3254e88b1b32ef318013aa2aa2084c

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