Metadata-Version: 2.4
Name: MacSGP
Version: 0.2.0
Summary: MacSGP is a scalable statistical and computational approach for MApping Cell-type-specific Spatial Gene Programs (SGPs) in spatial transcriptomic (ST) data.
Home-page: https://github.com/YangLabHKUST/MacSGP
Author: Yeqin Zeng
Author-email: yzengbj@connect.ust.hk
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: anndata==0.11.3
Requires-Dist: matplotlib==3.10.1
Requires-Dist: numpy==1.26.4
Requires-Dist: pandas==2.2.3
Requires-Dist: scanpy==1.11.0
Requires-Dist: scipy==1.15.2
Requires-Dist: torch==2.5.1
Requires-Dist: torch-geometric==2.6.1
Requires-Dist: tqdm==4.67.1
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# MacSGP: Mapping Cell-Type-Specific Spatial Gene Programs Uncovers Tissue Architecture and Microenvironment Organization

<!-- badges: start -->

![GitHub repo
size](https://img.shields.io/github/repo-size/YangLabHKUST/MacSGP)
![GitHub last
commit](https://img.shields.io/github/last-commit/YangLabHKUST/MacSGP)
![GitHub
License](https://img.shields.io/github/license/YangLabHKUST/MacSGP)
![GitHub Repo
stars](https://img.shields.io/github/stars/YangLabHKUST/MacSGP)
![GitHub
forks](https://img.shields.io/github/forks/YangLabHKUST/MacSGP)

<!-- badges: end -->

## Introduction

`MacSGP` is a scalable statistical and computational approach for MApping Cell-type-specific Spatial Gene Programs (SGPs) in spatial transcriptomic (ST) data.

<figure>

<img src="figures/overview.png" style="width:95.0%"
alt="Overview" />
</figure>

## Real data analysis

The code for reproducing the real data analysis results presented in our paper are available on the tutorial website
(<https://macsgp-tutorial.readthedocs.io/>).

- [Multiple adult mouse brain datasets from different
  sources](https://macsgp-tutorial.readthedocs.io/en/latest/analysis/mouse_brain/)
- [Visium kidney cancer
  dataset](https://mcube-tutorial.readthedocs.io/en/latest/analysis/kidney_cancer/)
- [Multiple human colorectal cancer datasets generated by different
  technologies](https://macsgp-tutorial.readthedocs.io/en/latest/analysis/CRC/)

## Reference

If you find `MacSGP` or any of the source code in this repository useful for your work, please cite:
> Mapping Cell-Type-Specific Spatial Gene Programs Uncovers Tissue Architecture and Microenvironment Organization.  
> Yeqin Zeng, Zhiwei Wang, Yuyao Liu, Yuheng Chen, Jiguang Wang, Hao Chen and Can Yang.  
> Submitted, 2025.

## Development

The software is developed and maintained by [Yeqin Zeng](mailto:yzengbj@connect.ust.hk).

## Contact

Please feel free to contact [Yeqin Zeng](mailto:yzengbj@connect.ust.hk), [Zhiwei Wang](mailto:zhiwei.wang@connect.ust.hk), or [Prof. Can Yang](mailto:macyang@ust.hk) if any inquiries.
