This repository is a complete implementation of "Genopathomic profiling identifies signatures for immunotherapy response of lung adenocarcinoma via confounder-aware representation learning"
Download the GDC Data Transfer Tool executable (not included here for license issues), and follow the instruction to download dataset.
Follow this notebook to preprocess dataset. this note book first crop TCGA image to patch, in our case the patch size is 512x512 on target magnitud 10x. then splite patches to train\val\test fold on whole image level.
After data download and pre-processing has been performed, follow this notebook to train and validate model. More information about the training pipeline can be found in our paper.