Masked adversarial neural network for cell type deconvolution in spatial transcriptomics

Lin Huang, Xiaofei Liu, Shunfang Wang, Wenwen Min
8/9/2024
cs.LG

Official code: wenwenmin/MACD (14 stars, last commit 2025-06-16). 1 more implementation below.

Abstract

Accurately determining cell type composition in disease-relevant tissues is crucial for identifying disease targets. Most existing spatial transcriptomics (ST) technologies cannot achieve single-cell resolution, making it challenging to accurately determine cell types. To address this issue, various deconvolution methods have been developed. Most of these methods use single-cell RNA sequencing (scRNA-seq) data from the same tissue as a reference to infer cell types in ST data spots. However, they often overlook the differences between scRNA-seq and ST data. To overcome this limitation, we propose a Masked Adversarial Neural Network (MACD). MACD employs adversarial learning to align real ST data with simulated ST data generated from scRNA-seq data. By mapping them into a unified latent space, it can minimize the differences between the two types of data. Additionally, MACD uses masking techniques to effectively learn the features of real ST data and mitigate noise. We evaluated MACD on 32 simulated datasets and 2 real datasets, demonstrating its accuracy in performing cell type deconvolution. All code and public datasets used in this paper are available at https://github.com/wenwenmin/MACD and https://zenodo.org/records/12804822.

View on arXivView PDF

Code Implementations(2)

wenwenmin/MACDOfficial100%

Masked adversarial neural network for cell type deconvolution (MACD) in spatial transcriptomics data

140PythonJul 24, 20241 years ago
wenwenmin/SpaDAMACommunity71%

[PLoS Computational Biology 2025] Domain-Adversarial Masked Autoencoder (SpaDAMA) for cell type deconvolution in spatial transcriptomics data

120Python, Jupyter NotebookNov 26, 202411 months ago

Similar Papers

Cite this paper

@article{huang2024masked,
  title  = {Masked adversarial neural network for cell type deconvolution in spatial transcriptomics},
  author = {Lin Huang and Xiaofei Liu and Shunfang Wang and Wenwen Min},
  year   = {2024},
  eprint = {2408.05065},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.05065v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.05065.svg)](https://codeofpaper.com/paper/2408.05065)

Discussion