An open API service indexing awesome lists of open source software.

https://github.com/diegommcc/spatialddls

Deconvolution of spatial transcriptomics data based on Deep Learning
https://github.com/diegommcc/spatialddls

deconvolution deep-learning neural-network spatial-transcriptomics

Last synced: 4 months ago
JSON representation

Deconvolution of spatial transcriptomics data based on Deep Learning

Awesome Lists containing this project

README

          

# **SpatialDDLS**

[![R build status](https://github.com/diegommcc/SpatialDDLS/workflows/R-CMD-check-bioc/badge.svg)](https://github.com/diegommcc/SpatialDDLS/actions)



An R package to deconvolute spatial transcriptomics data using single-cell RNA-seq and deep neural networks



The **SpatialDDLS** R package provides a neural network-based solution for cell type deconvolution of spatial transcriptomics data. The package takes advantage of single-cell RNA sequencing (scRNA-seq) data to simulate mixed transcriptional profiles with known cell composition and train fully-connected neural networks to predict cell type composition of spatial transcriptomics spots. The resulting trained models can be applied to new spatial transcriptomics data to predict cell type proportions, allowing for a more accurate cell type identification and characterization of spatially-resolved transcriptomic data. Overall, SpatialDDLS is a powerful tool for cell type deconvolution in spatial transcriptomics data, providing a reliable, fast and flexible solution for researchers in the field.

For more details about the algorithm and functionalities implemented in this package, see .

## Installation

**SpatialDDLS** is already available on CRAN:

```r
install.packages("SpatialDDLS")
```

The version under development is available on GitHub and can be installed as follows:

```r
if (!requireNamespace("devtools", quietly = TRUE))
install.packages("devtools")
devtools::install_github("diegommcc/SpatialDDLS")
```

The package depends on the [tensorflow](https://cran.r-project.org/package=tensorflow) and [keras](https://cran.r-project.org/package=keras) R packages, so a working Python interpreter with the Tensorflow Python library installed is needed. The `installTFpython` function provides an easy way to install a conda environment named `spatialddls-env` with all necessary dependencies covered. We recommend installing the TensorFlow Python library in this way, although a custom installation is possible.

```r
library("SpatialDDLS")
installTFpython(install.conda = TRUE)
```

## References

Mañanes, D., Rivero-García, I., Relaño, C., Jimenez-Carretero, D., Torres, M., Sancho, D., Torroja, C. and Sánchez-Cabo, F. (2024). SpatialDDLS: An R package to deconvolute spatial transcriptomics data using neural networks.
Bioinformatics
40 2
doi:10.1093/bioinformatics/btae072

Torroja, C. and Sánchez-Cabo, F. (2019). digitalDLSorter: A Deep Learning algorithm to quantify immune cell populations based on scRNA-Seq data.
Frontiers in Genetics
10 978
doi:10.3389/fgene.2019.00978