We compute locally estimated scatterplot smoothing (LOESS) to obtain normative models of arterial and cortical volumes of healthy subjects and subjects of diseases.
Windows.
CPU with 4 cores and 8GB RAM are enough.
- Install python following the instructions in Step2:
- Download this 4_R_LOESS_curve folder to your device.
- Install required libraries:
cd Path_you_save/4_R_LOESS_curve pip install -r requirements.txt
Following previous Steps 1-3, you can extract hierarchical arterial and cortical volumes by yourself using your own dataset. Then you can run our python notebooks to get the normative models of your data by following the below instruction. We also provide CSV files containing arterial and cortical volume features from healthy and pathological subjects in the data folder, which you can use to reproduce normative models of our dataset or test.
- Check if hierarchical arterial and cortical volumes of each individual are saved in CSV files in the folder PATH_you_save/4_R_LOESS_curve/data;
- (Optional) Default CSV files of arterial and cortical volumes are listed here. If you change these CSV file names, please also remember to change them in every python notebook.
- Run python notebooks step by step
- AV_health_curve.ipynb:
normative models of arterial volumes for UK healthy subjects and CN healthy subjects regarding to the whole brain, the four typical regions and the brodmann regions; - CV_health_curve.ipynb:
normative models of cortical volumes for UK healthy subjects and CN healthy subjects regarding to the whole brain, the four typical regions and the brodmann regions; - AV_health_vs_unhealth_curve.ipynb:
comparison between normative models of arterial volumes for healthy subjects and pathological subjects (AD, large territorial stroke, lacunar stroke); - CV_health_vs_unhealth_curve.ipynb:
comparison between normative models of cortical volumes for healthy subjects and pathological subjects (AD, large territorial stroke, lacunar stroke).
- AV_health_curve.ipynb: