Datasets:
Tasks:
Tabular Regression
Modalities:
Text
Formats:
text
Size:
< 1K
Tags:
spatial-transcriptomics
single-cell
bioinformatics
deconvolution
cell-cell-communication
spagraph
License:
text stringlengths 0 109 |
|---|
d6ce2929352857a4b039269a8f0455c259616461237d0de0c0a20d70081c209f cscc/config_deconv.txt |
ab24aa1fbe0fbeccdc0997e60b3753636709106413b726964e79db0d22e09031 cscc/config_vae.txt |
d4d7691257a778c3137b53a43e235a6dfacd9ea4116028db9dbb946d15ba20bb cscc/Spatial_composition.csv |
0d09f713eb809a7f67ded0f5d9ab9957785eaed2fbb88b5ac1022e51bf1cf08c cscc/Spatial_spot_cell_expr.csv.gz |
ddf77c2b637abb4d4cee1014fc2cfa0caa2b00e57a435e060a1a084867b376d3 dcis/config_deconv.txt |
e03694a77aefe452d0278ae545dd18235971101be167ce71a5aa37959ae577aa dcis/config_vae.txt |
ff4f3b5388626ee03f22bc9c643ccc243e148ce956aad7d72d7c86f4eb6bcbcd dcis/GSM7782699_ST_composition.csv |
de293c0f74c6c3576eb44e67c7d228aecfaf484fdf379051afea426b1a0b515f dcis/GSM7782699_ST_spot_cell_expr.csv.gz |
897a343e25c20d2032c7369e187447b90f2e948217c122ae667fc5c1e4f1b4b3 hgsoc/config_deconv.txt |
bc058be68ce3168caad75fa551760874fbb622d4493761c8f52e263863fe8f08 hgsoc/config_vae.txt |
0a815dc924444686a2f26d55461a1c05199db7ea4ea873caddcc91802921130e hgsoc/GSE211956_ST_P3_composition.csv |
c0e2e7119d9889fe296211f5d863e295cd9bf1758698f5e6fea625ce776828b1 hgsoc/GSE211956_ST_P3_spot_cell_expr.csv.gz |
57728aab96db133d3e36bfd18c9fff4be711a39711aee6dd323a5c4e9e310ca4 tnbc/CID44971_ST_composition.csv |
26defa2e4d5022d1fbee944ea76114e6dadb82c871d29dabb346eae1c0c2ed09 tnbc/CID44971_ST_spot_cell_expr.csv.gz |
74fe89da75addc031e42f0cc5c71e72e1427722630a600837ddc3a2038ad9857 tnbc/config_deconv.txt |
a134b884a1b76e5a65afbfa07eab5f3b6e4c8d0dfd51d7248cde3edb9a9c1814 tnbc/config_vae.txt |
============================================================ |
Stage 2: GAT Deconvolution Configuration |
============================================================ |
Timestamp: 2026-01-20 18:04:41 |
Input Files: |
ST File: /home/maweicheng/ST_data/GSE144240/Spatial.h5ad |
Output Dir: /home/maweicheng/ST_data/GSE144240/evaluate |
Sample Name: Spatial |
Training Hyperparameters: |
Epochs: 300 |
Learning Rate: 0.005 |
Batch Size: 512 |
Print Every: 25 |
Seed: 42 |
Graph Construction: |
K Spatial: 5 |
K Celltype: 40 (input: 40) |
Scale Basis: all |
Weight Thresh: 0.001 |
GAT Architecture: |
Hidden Dim: 512 |
Layers: 4 |
Heads: 4 |
Dropout: 0.1 |
Loss Weights: |
Pearson: 1 |
MSE: 0 |
Cosine: 5.0 |
Gene Pearson: 1 |
Gene Cosine: 5.0 |
Reg: 0.1 |
Sparse: 0 |
Proportion: 0.01 |
Dynamic Cluster Representation: |
Enabled: True |
K Cells/Cluster: 15 |
Precompute KNN: True |
Output Options: |
Save Reconstructed Genes: True |
Results: |
N Clusters: 63 |
N Genes: 1807 |
Final Losses: |
Best Pearson: 0.275111 |
Best MSE: 0.740103 |
Best Cosine: 0.184147 |
Best Gene Pearson: 0.715772 |
Best Gene Cosine: 0.380829 |
System: |
Memory Mode: True |
Device: auto |
============================================================ |
============================================================ |
Stage 1: VAE Training Configuration |
============================================================ |
Timestamp: 2026-01-20 18:02:46 |
Input Files: |
SC File: /home/maweicheng/ST_data/GSE144240/scRNA.h5ad |
ST File: /home/maweicheng/ST_data/GSE144240/Spatial.h5ad |
Output Dir: /home/maweicheng/ST_data/GSE144240/evaluate |
Training Hyperparameters: |
Epochs: 300 |
Learning Rate: 0.0005 |
Batch Size: 512 |
Latent Dim: 256 |
Hidden Dims: [512, 256] |
Beta (KL): 0.1 |
Lambda MMD: 0.03 |
Loss Type: mse |
Seed: 42 |
Clustering Hyperparameters: |
End of preview. Expand in Data Studio
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
- Full manuscript reproduction archive:
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
- Download a case folder (for example
cscc/):
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",
)
- Decompress
*_spot_cell_expr.csv.gz:
gunzip deconv_archive/cscc/Spatial_spot_cell_expr.csv.gz
- Run Stage 3 directly using the corresponding spatial
.h5adfile:
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.
- Downloads last month
- 50