Skip to main content

SpaRED and Spackle library

Project description

Library_Spared_Spackle

This repository contains all the necessary files to create a PyPI library to the SPARED and SpaCKLE contributions

This is the README file which will contain the long description of the PiPy library. Most libraries have a README file. Mean while this file will only contain this information and will be soon updated.

Enhancing Gene Expression Prediction from Histology Images with Spatial Transcriptomics Completion

Gabriel Mejía1,2*, Daniela Ruiz1,2*, Paula Cárdenas1,2, Leonardo Manrique1,2, Daniela Vega1,2, Pablo Arbelaez1,2


*Equal contribution.
1 Center for Research and Formation in Artificial Intelligence (CinfonIA), Bogotá, Colombia.
2 Universidad de los Andes, Bogotá, Colombia.

Abstract

Spatial Transcriptomics is a novel technology that aligns histology images with spatially resolved gene expression profiles. Although groundbreaking, it struggles with gene capture yielding high corruption in acquired data. Given potential applications, recent efforts have focused on predicting transcriptomic profiles solely from histology images. However, differences in databases, preprocessing techniques, and training hyperparameters impact a fair comparison between methods. To address these challenges, we present a systematically curated and processed database collected from 26 public sources, representing an 8.6-fold increase compared to previous works. Additionally, we propose a state-of-the-art transformer-based completion technique for inferring gene expression, which significantly boosts the performance of transcriptomic profile predictions across all datasets. Altogether, our contributions constitute the most comprehensive benchmark of gene expression prediction from histology images to date and a stepping stone for future research.

System Dependencies

Before installing the Python package, ensure the following system dependencies are installed:

conda create -n spared
conda activate spared
conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
conda install lightning -c conda-forge
pip install torch_geometric
conda install -c conda-forge squidpy
pip install wandb
pip install wget
pip install combat
pip install opencv-python
pip install positional-encodings[pytorch]
pip install openpyxl
pip install pyzipper
pip install plotly
pip install sh
pip install sphinx
pip install -U sphinx-copybutton
pip install -U sphinx_rtd_theme

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

spared-2.1.7.tar.gz (121.6 kB view details)

Uploaded Source

Built Distribution

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

spared-2.1.7-py3-none-any.whl (202.1 kB view details)

Uploaded Python 3

File details

Details for the file spared-2.1.7.tar.gz.

File metadata

  • Download URL: spared-2.1.7.tar.gz
  • Upload date:
  • Size: 121.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for spared-2.1.7.tar.gz
Algorithm Hash digest
SHA256 19f65c2248cf02279b080c36091c9c15e649ffb6d3afa041fb29fe5759cca5b2
MD5 c8beeb8f7cfcaee8b14ae9ebf3d29e2e
BLAKE2b-256 e84b6d7fc3ac5699427ae03f94290f5904387222aa4a983998c595c4aa8fab82

See more details on using hashes here.

File details

Details for the file spared-2.1.7-py3-none-any.whl.

File metadata

  • Download URL: spared-2.1.7-py3-none-any.whl
  • Upload date:
  • Size: 202.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for spared-2.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b3976cdf35bcfbbc6c8d73dfc11afa5b8ffc8c42351a18b3176a49ae0f50ae6e
MD5 20a05a3ee2aeed38c0bd9c528dbd8154
BLAKE2b-256 ce8bd2d0938ceac73174f6b4225072a2a6c40cab59eba3116cace16fcf1e7bba

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