├── LICENSE ├── README.md ├── clustering.ipynb ├── configs ├── multimodal.yaml ├── robustness.yaml └── unimodal.yaml ├── data ├── README.md ├── extract_brain_embeddings.py ├── files │ ├── clinical_data.tsv │ └── supplementary_data.tsv ├── get_wsi_thumbnails.py ├── mappings │ └── wsi_mapping.json ├── preprocessing.ipynb ├── rna_preprocessors │ ├── trf_0.joblib │ ├── trf_1.joblib │ ├── trf_2.joblib │ ├── trf_3.joblib │ └── trf_4.joblib ├── run_mri_pretraining.py ├── run_wsi_pretraining.py └── scripts │ ├── gdc_manifest_20230918_WSI_LGG.txt │ ├── gdc_manifest_20231124_WSI_GBM.txt │ ├── gdc_manifest_20231204_RNA_GBM_LGG.txt │ └── gdc_manifest_20231205_DNAm_GBM_LGG.txt ├── drim ├── __init__.py ├── commons │ ├── __init__.py │ ├── losses.py │ └── optim_contrastive.py ├── datasets.py ├── dnam │ ├── __init__.py │ ├── datasets.py │ └── models.py ├── fusion │ ├── __init__.py │ ├── fusion.py │ └── utils.py ├── helpers.py ├── logger.py ├── losses.py ├── models.py ├── mri │ ├── __init__.py │ ├── datasets.py │ ├── models.py │ └── transforms.py ├── multimodal │ ├── __init__.py │ ├── datasets.py │ └── models.py ├── rna │ ├── __init__.py │ ├── datasets.py │ └── models.py ├── trainers.py ├── utils.py └── wsi │ ├── __init__.py │ ├── datasets.py │ ├── func.py │ ├── models.py │ └── transforms.py ├── requirements.txt ├── robustness.py ├── static └── DRIM.png ├── train_aux_multimodal.py ├── train_drimsurv.py ├── train_drimu.py ├── train_unimodal.py └── train_vanilla_multimodal.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/README.md -------------------------------------------------------------------------------- /clustering.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/clustering.ipynb -------------------------------------------------------------------------------- /configs/multimodal.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/configs/multimodal.yaml -------------------------------------------------------------------------------- /configs/robustness.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/configs/robustness.yaml -------------------------------------------------------------------------------- /configs/unimodal.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/configs/unimodal.yaml -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/README.md -------------------------------------------------------------------------------- /data/extract_brain_embeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/extract_brain_embeddings.py -------------------------------------------------------------------------------- /data/files/clinical_data.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/files/clinical_data.tsv -------------------------------------------------------------------------------- /data/files/supplementary_data.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/files/supplementary_data.tsv -------------------------------------------------------------------------------- /data/get_wsi_thumbnails.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/get_wsi_thumbnails.py -------------------------------------------------------------------------------- /data/mappings/wsi_mapping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/mappings/wsi_mapping.json -------------------------------------------------------------------------------- /data/preprocessing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/preprocessing.ipynb -------------------------------------------------------------------------------- /data/rna_preprocessors/trf_0.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/rna_preprocessors/trf_0.joblib -------------------------------------------------------------------------------- /data/rna_preprocessors/trf_1.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/rna_preprocessors/trf_1.joblib -------------------------------------------------------------------------------- /data/rna_preprocessors/trf_2.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/rna_preprocessors/trf_2.joblib -------------------------------------------------------------------------------- /data/rna_preprocessors/trf_3.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/rna_preprocessors/trf_3.joblib -------------------------------------------------------------------------------- /data/rna_preprocessors/trf_4.joblib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/rna_preprocessors/trf_4.joblib -------------------------------------------------------------------------------- /data/run_mri_pretraining.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/run_mri_pretraining.py -------------------------------------------------------------------------------- /data/run_wsi_pretraining.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/run_wsi_pretraining.py -------------------------------------------------------------------------------- /data/scripts/gdc_manifest_20230918_WSI_LGG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/scripts/gdc_manifest_20230918_WSI_LGG.txt -------------------------------------------------------------------------------- /data/scripts/gdc_manifest_20231124_WSI_GBM.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/scripts/gdc_manifest_20231124_WSI_GBM.txt -------------------------------------------------------------------------------- /data/scripts/gdc_manifest_20231204_RNA_GBM_LGG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/scripts/gdc_manifest_20231204_RNA_GBM_LGG.txt -------------------------------------------------------------------------------- /data/scripts/gdc_manifest_20231205_DNAm_GBM_LGG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/data/scripts/gdc_manifest_20231205_DNAm_GBM_LGG.txt -------------------------------------------------------------------------------- /drim/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /drim/commons/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /drim/commons/losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/commons/losses.py -------------------------------------------------------------------------------- /drim/commons/optim_contrastive.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/commons/optim_contrastive.py -------------------------------------------------------------------------------- /drim/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/datasets.py -------------------------------------------------------------------------------- /drim/dnam/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/dnam/__init__.py -------------------------------------------------------------------------------- /drim/dnam/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/dnam/datasets.py -------------------------------------------------------------------------------- /drim/dnam/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/dnam/models.py -------------------------------------------------------------------------------- /drim/fusion/__init__.py: -------------------------------------------------------------------------------- 1 | from .fusion import * 2 | -------------------------------------------------------------------------------- /drim/fusion/fusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/fusion/fusion.py -------------------------------------------------------------------------------- /drim/fusion/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/fusion/utils.py -------------------------------------------------------------------------------- /drim/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/helpers.py -------------------------------------------------------------------------------- /drim/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/logger.py -------------------------------------------------------------------------------- /drim/losses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/losses.py -------------------------------------------------------------------------------- /drim/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/models.py -------------------------------------------------------------------------------- /drim/mri/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/mri/__init__.py -------------------------------------------------------------------------------- /drim/mri/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/mri/datasets.py -------------------------------------------------------------------------------- /drim/mri/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/mri/models.py -------------------------------------------------------------------------------- /drim/mri/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/mri/transforms.py -------------------------------------------------------------------------------- /drim/multimodal/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/multimodal/__init__.py -------------------------------------------------------------------------------- /drim/multimodal/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/multimodal/datasets.py -------------------------------------------------------------------------------- /drim/multimodal/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/multimodal/models.py -------------------------------------------------------------------------------- /drim/rna/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/rna/__init__.py -------------------------------------------------------------------------------- /drim/rna/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/rna/datasets.py -------------------------------------------------------------------------------- /drim/rna/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/rna/models.py -------------------------------------------------------------------------------- /drim/trainers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/trainers.py -------------------------------------------------------------------------------- /drim/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/utils.py -------------------------------------------------------------------------------- /drim/wsi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/wsi/__init__.py -------------------------------------------------------------------------------- /drim/wsi/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/wsi/datasets.py -------------------------------------------------------------------------------- /drim/wsi/func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/wsi/func.py -------------------------------------------------------------------------------- /drim/wsi/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/wsi/models.py -------------------------------------------------------------------------------- /drim/wsi/transforms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/drim/wsi/transforms.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/requirements.txt -------------------------------------------------------------------------------- /robustness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/robustness.py -------------------------------------------------------------------------------- /static/DRIM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/static/DRIM.png -------------------------------------------------------------------------------- /train_aux_multimodal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/train_aux_multimodal.py -------------------------------------------------------------------------------- /train_drimsurv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/train_drimsurv.py -------------------------------------------------------------------------------- /train_drimu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/train_drimu.py -------------------------------------------------------------------------------- /train_unimodal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/train_unimodal.py -------------------------------------------------------------------------------- /train_vanilla_multimodal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lucas-rbnt/DRIM/HEAD/train_vanilla_multimodal.py --------------------------------------------------------------------------------