Views
No views yet
hutaobo/ccst-spatial-clustering is retained for continuity from an earlier private working name. The slug is historical; the public contents in this release are a cleaned DST-GNN implementation for the lung fibrosis manuscript workflow and are not a CCST release.T1 = HD, T2 = LA, T3 = MA[0, 1], where smaller values indicate closer proximitySSS = 1.0GNNExplainerdata/inputs/: bundled direct DST-GNN input CSV for the lung fibrosis cohortdata/outputs/formal_release/: bundled formal release outputs generated by the cleaned public pipelinedata/DATA_PROVENANCE.md: provenance notes for the bundled input and output datasrc/dst_gnn/: cleaned Python package for data loading, temporal graph construction, model definition, training, and explainabilityscripts/run_dst_gnn.py: end-to-end CLI that builds stage graphs, trains DST-GNN, ranks dynamic nodes and edges, and optionally runs GNNExplainerscripts/verify_repro.py: output comparison helper for checking a rerun against the bundled formal releasereferences/RECOVERY_NOTES.md: provenance notes describing the recovered notebooks and the manuscript-alignment corrections applied hereupload_to_hf.py: helper for synchronizing this folder to the Hugging Face Hubdata/inputs/cophenetic_distances_searcher_D_score_in_all_samples.csvdata/outputs/formal_release/45 samples, 47 cell types, and stage labels mapped as HD -> T1, LA -> T2, MA -> T3.data/DATA_PROVENANCE.md for the input lineage and the exact formal release settings.47 x 47 directed graphs per sample.1.0 before aggregation, matching the manuscript description of absent spatial associations.HD, LA, and MA.1 - SSS, so stronger spatial association yields stronger graph connectivity.T1 -> T2 -> T3, with a GCN-based encoder, GRU-style temporal state update, and pairwise decoder trained to predict later-stage spatial relationships.scripts/run_dst_gnn.py expects a CSV with these columns:rowcolumnvaluesamplegroupcophenetic_distances_searcher_D_score_in_all_samples.csv.pip install -r requirements.txt1python scripts/run_dst_gnn.py \
2 --csv /path/to/cophenetic_distances_searcher_D_score_in_all_samples.csv \
3 --output-dir outputs/lung_fibrosis_dst_gnn \
4 --epochs 400 \
5 --run-explainerdevice=cpuseed=0hidden_channels=32dropout=0.0lr=0.01weight_decay=5e-4epochs=400top_k=20run_explainer=true1python scripts/run_dst_gnn.py \
2 --csv data/inputs/cophenetic_distances_searcher_D_score_in_all_samples.csv \
3 --output-dir outputs/repro_check \
4 --device cpu \
5 --seed 0 \
6 --hidden-channels 32 \
7 --dropout 0.0 \
8 --lr 0.01 \
9 --weight-decay 5e-4 \
10 --epochs 400 \
11 --top-k 20 \
12 --run-explainer1python scripts/verify_repro.py \
2 --expected-dir data/outputs/formal_release \
3 --actual-dir outputs/repro_checkY:/long/publication_datasets/Vannan_2023_Lung_Fibrosis/notebook/GNN modelling.ipynbY:/long/publication_datasets/Vannan_2023_Lung_Fibrosis/notebook/Expression Distance Similarity.ipynb/mnt/taobo.hu/long/publication_datasets/Vannan_2023_Lung_Fibrosis/.references/RECOVERY_NOTES.md for the full provenance summary.CITATION.cff.LICENSE.md for details.