Skip to main content

A Consensus Framework for Robust Identification of Spatially Variable Genes in Spatial Transcriptomics

Project description

Castl: A Consensus Framework for Robust Identification of Spatially Variable Genes in Spatial Transcriptomics

1 Overview

Castl is a novel consensus-based analytical framework designed to enhance the accuracy and robustness of spatially variable genes identification for spatially resolved transcriptomics through statistically rigorous algorithms, including rank aggregation, p-value aggregation, and Stabl aggregation. Comprehensive evaluations on both simulated and real-world data demonstrate that Castl consistently identifies biologically meaningful spatial expression patterns, mitigates method-specific biases and effectively controls FDRs across various biological contexts, resolutions, and spatial technologies. This flexible, assumption-free framework offers a robust and standardized foundation for spatially informed feature discovery in complex biological systems.

figure

2 System Requirements

Python

  • Python >= 3.9.5
  • pandas >= 1.3.0
  • numpy >= 1.21.0
  • rpy2 >= 3.5.0
  • scipy >= 1.7.0
  • statsmodels >= 0.13.0
  • anndata >= 0.8.0
  • scanpy >= 1.9.0
  • matplotlib >= 3.5.0
  • seaborn >= 0.12.0
  • scikit-learn >= 1.0.0

R

  • R >= 4.0.5
  • dplyr >= 1.0.0
  • tidyverse >= 1.3.0
  • clusterProfiler >= 3.18.0
  • org.Hs.eg.db >= 3.12.0
  • patchwork >= 1.1.0
  • ggplot2 >= 3.3.0
  • TissueEnrich >= 1.8.0
  • SummarizedExperiment >= 1.20.0

3 Installation

Python

Castl can be installed directly from PyPI:

pip install STCastl

or download from Github and install it:

git clone https://github.com/TheY11/Castl

cd Castl
pip install -e .

R

We also provide the R package castlRUtils for calculating quality scores (QS) of SVGs.

library(devtools)
devtools::install_github("TheY11/Castl", subdir = "Castl/r_utils", force = TRUE)
library(castlRUtils)

4 Tutorials

Detailed usage instructions and tutorials for Castl are available at: https://castl-analysis.readthedocs.io/en/latest/

5 Improvements

For questions or issues, please open an issue.

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

STCastl-0.1.1.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

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

STCastl-0.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file STCastl-0.1.1.tar.gz.

File metadata

  • Download URL: STCastl-0.1.1.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for STCastl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 01ead39ea24cbd6cbe4cec0c31f44fbd0157aebb607b66d4ed0717667a509784
MD5 f72c33f2ce658338b97b11dd17f337a3
BLAKE2b-256 35d7612b7c2d0a3162b93dc1d4f908e48677f500cfd37115c9d4e6b92502c6a6

See more details on using hashes here.

File details

Details for the file STCastl-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: STCastl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.7

File hashes

Hashes for STCastl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3057cd93d0d30e880a9bc6eb4cae7bce88dca43fd34ac00c9bf74e0410de70bf
MD5 60897a09270df3ba41aba248e38b9794
BLAKE2b-256 d933331636d7508d401425e0ed3dbff1aa1814aab9cbbd696bf1aafc5ff579eb

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