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.
  • Preprint available at arXiv
  • Visit the project on our website

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.0.2.tar.gz (98.0 MB view details)

Uploaded Source

Built Distribution

spared-2.0.2-py3-none-any.whl (98.1 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for spared-2.0.2.tar.gz
Algorithm Hash digest
SHA256 e0237038b68107655565a976dfd65ea79f656a6e90b6b678d3e5075d716d4e1b
MD5 26071f2859dd8c27a47d32be20448117
BLAKE2b-256 92ae588f1b722446427e6ade3431aa0d747c6cea154fed102ff878fac95a824e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for spared-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 229c12df015e66a5b7ebebf64224bc186417e2ef622158d2337ccc74347859fc
MD5 04ab1651c55a7ed81df13660c0669ba8
BLAKE2b-256 d23295409c665eb579eaf0b0b1cfffb5755035fcb717d3931f8d596e180a7b2b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page