CBICA / niCHART

The neuro-imaging brain aging chart [niCHART] is a comprehensive solution to analyze standard structural and functional brain MRI data across studies. [niCHART] and the associated pre-processing tools implement computational morphometry, functional signal analysis, quality control, statistical harmonization, data standardization, interactive visual
https://cbica.github.io/niCHART/
Other
13 stars 8 forks source link

Plotting order of harmonization parameters (the shift and scale in the center of the plot) in the harmonization plugin is inconsistent #228

Open ashishsingh18 opened 1 year ago

ashishsingh18 commented 1 year ago

@melhemr can you please add steps to reproduce this issue?

melhemr commented 1 year ago

Using the following files: Data: /cbica/home/melhemr/comp_space/FTD_center/FTDcenter_withukbb2.pkl.gz

model1: /cbica/projects/ISTAGING/Pipelines/ISTAGING_Data_Consolidation_2020/v1.3/MUSE_harmonization_model.pkl

model2: /cbica/projects/ISTAGING/Pipelines/ISTAGING_Data_Consolidation_2020/v1.3/MUSE_harmonization_model_augmented.pkl

1) Load data into nibax

2) Load model1 into harmonization module

3) Apply model1 to data. The result is the following:

Screen Shot 2022-10-06 at 9 27 28 AM

4) Click 'Load other model'

5) Load model2 into harmonization module

6) Apply model2 to data. The result is the following:

Screen Shot 2022-10-06 at 9 28 03 AM

The parameters that were initially assigned to FTD center in the first plot are now assigned to UKBIOBANK2 in the second plot. The parameters for UKBIOBANK2 in the first plot are approximately the same as those assigned to FTD center in the second plot (these were calculated out-of-sample for UKBB2)