help > Lesion mask integration
Showing 1-4 of 4 posts
Display:
Results per page:
Oct 5, 2026  05:10 PM | Mohammad Samim Zaheer
Lesion mask integration

Hi,


Could you please clarify a couple of questions for me?

1. What are the step-by-step instructions for adding a lesion mask into CONN to exclude the lesioned areas from analysis? 

2. How should I modify the default preprocessing pipeline for subjects with lesions? ( I selected the functional indirect segmentation and normalization with lesion mask and structural segmentation and normalization with lesion mask, and kept the others the same with their respective order)

 

3. Are there any addtional modfication for subjetcs with lesion masks in next steps/tabs?

 

Now I don't see any results in the 2nd-level analysis tab for any seed/network when doing between-subjects contrast in comparing the patient with the normal population.

Thank you for your help.
Samim Zaheer
Oct 9, 2026  10:10 AM | Alfonso Nieto-Castanon - Boston University
RE: Lesion mask integration

Hi Samir,


To add lesion masks to your preprocessing pipeline, the steps are the following:


1) In Setup.ROIs define a new ROI (e.g. named "lesion_mask") an enter your lesion masks (remember to check the option 'subject-specific ROI' to indicate that you have a different mask per subject)


2) when preprocesing, instead of using the default pipeline, click instead on 'load' and load the pipeline file .../conn/utils/preprocessingpipelines/defaultMNI_withlesion.mat. When running preprocessing you will be prompted to select ROIs for functional masking. Select there the option that reads "lesion_mask (exclusive mask; exclude all voxels within this ROI)". You will also be prompted to confirm normalization options, make sure there that the option that reads "use structural lesion masks: lesion_mask" is selected.


This pipeline will incorporate the lesion masks into subject-specific TPM files characterizing the lesion as a separate tissue-class during MNI-normalization, and it will mask-out functional data within the lesioned areas (feel free to modify this pipeline to adapt it to your own data or needs)


Let me know if you have any questions


Alfonso


Originally posted by Mohammad Samim Zaheer:



Hi,


Could you please clarify a couple of questions for me?

1. What are the step-by-step instructions for adding a lesion mask into CONN to exclude the lesioned areas from analysis? 

2. How should I modify the default preprocessing pipeline for subjects with lesions? ( I selected the functional indirect segmentation and normalization with lesion mask and structural segmentation and normalization with lesion mask, and kept the others the same with their respective order)

 

3. Are there any addtional modfication for subjetcs with lesion masks in next steps/tabs?

 

Now I don't see any results in the 2nd-level analysis tab for any seed/network when doing between-subjects contrast in comparing the patient with the normal population.

Thank you for your help.
Samim Zaheer


 

Oct 11, 2026  03:10 PM | Mohammad Samim Zaheer
RE: Lesion mask integration
Dear Alfonso,

 

Thank you for your detailed clarification. I understand that comparing a single subject to another cohort is not supported. However, if I want to export connectivity data for a specific ROI, such as the IFG, to perform a Crawford-Howell t-test outside of CONN, what steps should I follow?

 

Is it possible to obtain this data? If so, could you advise on the appropriate extraction method and recommend which type of analysis I should use?

 

For context, I have data from 10 GBM patients and 15 controls. I would like to compare each patient individually to the control group before conducting a group analysis.

 

Thanks again for your help!

Samim
Oct 13, 2026  09:10 AM | Alfonso Nieto-Castanon - Boston University
RE: Lesion mask integration

Dear Samim


Comparing a single subject to another cohort is perfectly fine. You may do that within CONN using the standard GLM second-level analysis tools available. In the context of GLM a between-group comparison where one of the groups has only one subject is mathenatically exactly equivalent to your planned Crawford-Howell t-test, so you could run those analyses simply from the second-level results tab selecting the reference group and another group identifying a single subject and entering a [-1 1] between-subjects contrast. 


Hope this helps


Alfonso


Originally posted by Mohammad Samim Zaheer:



Dear Alfonso,

 

Thank you for your detailed clarification. I understand that comparing a single subject to another cohort is not supported. However, if I want to export connectivity data for a specific ROI, such as the IFG, to perform a Crawford-Howell t-test outside of CONN, what steps should I follow?

 

Is it possible to obtain this data? If so, could you advise on the appropriate extraction method and recommend which type of analysis I should use?

 

For context, I have data from 10 GBM patients and 15 controls. I would like to compare each patient individually to the control group before conducting a group analysis.

 

Thanks again for your help!

Samim