--- license: mit task_categories: - tabular-regression tags: - spatial-transcriptomics - single-cell - bioinformatics - deconvolution - cell-cell-communication - spagraph pretty_name: Spagraph Tumor Case-Study Deconvolution Outputs --- # Spagraph Tumor Case-Study Deconvolution Outputs This dataset archives the exact Stage 2 deconvolution outputs (`*_composition.csv` and gzipped `*_spot_cell_expr.csv.gz`) and run configuration logs used for the four real-tissue tumor case studies in the **Spagraph** manuscript, enabling direct reproduction of all Stage 3 spatial cell–cell communication analyses without re-running Stages 1–2. - **Code repository:** [https://github.com/KuangQuanS/Spagraph](https://github.com/KuangQuanS/Spagraph) - **Full manuscript reproduction archive:** [`paper-reproduction-20261127`](https://github.com/KuangQuanS/Spagraph/tree/paper-reproduction-20261127) ## Directory Contents | Folder | Cancer Type | Source Study / GEO | Composition Matrix | Reconstructed Spot–Cell Expression | |---|---|---|---|---| | `cscc/` | Cutaneous squamous cell carcinoma (P2) | GSE144236 / GSE144239 (Ji et al., *Cell* 2020) | `Spatial_composition.csv` | `Spatial_spot_cell_expr.csv.gz` (159 MB) | | `tnbc/` | Basal-like triple-negative breast cancer (CID44971) | GSE176078 / Wu et al., *Nat. Genet.* 2021 | `CID44971_ST_composition.csv` | `CID44971_ST_spot_cell_expr.csv.gz` (284 MB) | | `dcis/` | Breast ductal carcinoma in situ | GSE243275 (Janesick et al., *Nat. Commun.* 2023) | `GSM7782699_ST_composition.csv` | `GSM7782699_ST_spot_cell_expr.csv.gz` (1.0 GB) | | `hgsoc/` | High-grade serous ovarian carcinoma (P3) | GSE211956 (Denisenko et al., *Nat. Commun.* 2024) | `GSE211956_ST_P3_composition.csv` | `GSE211956_ST_P3_spot_cell_expr.csv.gz` (284 MB) | Each subdirectory also includes `config_vae.txt` and `config_deconv.txt`. Integrity checksums for all files are recorded in `SHA256SUMS.txt`. ## Usage with Spagraph Stage 3 1. Download a case folder (for example `cscc/`): ```python from huggingface_hub import snapshot_download local_dir = snapshot_download( repo_id="kmmuleelab/Spagraph-case-deconvolution", repo_type="dataset", allow_patterns=["cscc/*"], local_dir="deconv_archive", ) ``` 2. Decompress `*_spot_cell_expr.csv.gz`: ```bash gunzip deconv_archive/cscc/Spatial_spot_cell_expr.csv.gz ``` 3. Run Stage 3 directly using the corresponding spatial `.h5ad` file: ```python import spagraph as spg spg.cellcom( deconv_dir="deconv_archive/cscc", st_h5ad="examples/cscc/data/GSE144239_P2_ST.h5ad", output_dir="results/cscc/cellcom", n_spot_neighbors=8, ligand_expr_threshold=3.0, receptor_expr_threshold=3.0, lr_score_threshold=1.0, allow_same_celltype_comm=True, epochs=200, batch_size=96, seeds=[11, 23, 42, 67, 101], export_unified_csv=False, ) ``` ## License Released under the MIT License for derived Spagraph outputs. Original raw sequencing data remain subject to the terms of their respective source studies.