Skip to content

Fusion strategies to build multimodal predictors for the prediction of immunotherapy response in non-small cell lung cancer

License

Notifications You must be signed in to change notification settings

sysbio-curie/multipit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multipit

This repository provides a set of Python tools to perform multimodal learning with tabular data. It contains the code used in our study:

"Integration of clinical, pathological, radiological, and transcriptomic data to predict first-line immunotherapy outcome in metastatic non-small cell lung cancer"

Installation

Dependencies

  • lifelines (>= 0.27.4)
  • matplotlib (>= 3.5.1)
  • numpy (>= 1.21.5)
  • pandas (= 1.5.3)
  • scikit-learn (>= 1.2.0)
  • scikit-survival (>= 0.21.0)
  • seaborn (=0.13.0)
  • shap (>= 0.41.0)
  • xgboost (>= 1.7.5)

Install from source

Clone the repository:

git clone https://github.com/ncaptier/multipit.git 

Key features

Deep-multipit

We also provide another Github repository, named deep-mulitpit with a Pytorch implementation of an end-to-end integration strategy with attention weights, inspired by Vangurie et al, 2022.

Run scripts

Modify the configurations in .yaml config files (in config/ subfolder) then run the following command in your terminal:

python latefusion.py -c config/config_latefusion.yaml -s path/to/results/folder
python collect_shap_survival.py -c config/config_latefusion_survival.yaml -s path/to/results/folder

Warning: For Windows OS paths must be written with '' or '\' separators (instead of '').

Note: In order to modify more deeply the loading of the data or the predictive pipelines, please update the PredictionTask class in the file _init_scripts.py.

Acknowledgements

This repository was created as part of the PhD project of Nicolas Captier in the Computational Systems Biologie of Cancer group and the Laboratory of Translational Imaging in Oncology (LITO) of Institut Curie.

About

Fusion strategies to build multimodal predictors for the prediction of immunotherapy response in non-small cell lung cancer

Resources

License

Stars

Watchers

Forks

Packages

No packages published