help
help > RE: Masking
Aug 6, 2014 07:08 AM | Alfonso Nieto-Castanon - Boston University
RE: Masking
Hi Yifei,
The issue there is that, when defining a .txt labels file which includes only the ROI labels (like the original aal.txt file), CONN expects those N labels to match an ROI file with exactly N values (from 1 to N). In any way, there are a couple of other formats that CONN will interpret correctly where you can specify the values-labels association a bit more freely:
1) create a .txt file that contains two space-separated fields, the first is the ROI number and the second the ROI name (without spaces); so something along the lines of:
19 Supp_Motor_Area_(L)
20 Supp_Motor_Area_(R)
57 Postcentral_(L)
58 Postcentral_(R)
...
2) create a .csv file that contains two comma-separated fields, the first is the ROI name (without commas) and the second the ROI number; so something along the lines of:
Supp Motor Area (L), 19
Supp Motor Area (R) , 20
Postcentral (L), 57
Postcentral (R), 58
...
For any of these formats you may include in the .txt or .csv file as many ROI label-value pairs as you wish (they do not need to be limited only to the values present in your ROI file)
Hope this helps
Alfonso
Originally posted by Yifei Zhang:
The issue there is that, when defining a .txt labels file which includes only the ROI labels (like the original aal.txt file), CONN expects those N labels to match an ROI file with exactly N values (from 1 to N). In any way, there are a couple of other formats that CONN will interpret correctly where you can specify the values-labels association a bit more freely:
1) create a .txt file that contains two space-separated fields, the first is the ROI number and the second the ROI name (without spaces); so something along the lines of:
19 Supp_Motor_Area_(L)
20 Supp_Motor_Area_(R)
57 Postcentral_(L)
58 Postcentral_(R)
...
2) create a .csv file that contains two comma-separated fields, the first is the ROI name (without commas) and the second the ROI number; so something along the lines of:
Supp Motor Area (L), 19
Supp Motor Area (R) , 20
Postcentral (L), 57
Postcentral (R), 58
...
For any of these formats you may include in the .txt or .csv file as many ROI label-value pairs as you wish (they do not need to be limited only to the values present in your ROI file)
Hope this helps
Alfonso
Originally posted by Yifei Zhang:
Dear
Alfonso,
I generated the .nii file of AAL ROIs by masking with the binary DMN in FSL, now I can input it into conn as ROI, the question is, I don't know how to make a proper .txt file listing the new ROIs' names. The new AAL_DMN file includes the same intensities for each 116 ROI as the AAL.nii provided in conn, but less than (only 29 clusters) it. If I use the original AAL.txt, conn couldn't recognise it. I am wondering is that possible to let conn find the ROI name in the original AAL.txt file by reading the same line of the number of density in the masked image?
Thank you very much!
Best regards,
Yifei
Originally posted by Yifei Zhang:
I generated the .nii file of AAL ROIs by masking with the binary DMN in FSL, now I can input it into conn as ROI, the question is, I don't know how to make a proper .txt file listing the new ROIs' names. The new AAL_DMN file includes the same intensities for each 116 ROI as the AAL.nii provided in conn, but less than (only 29 clusters) it. If I use the original AAL.txt, conn couldn't recognise it. I am wondering is that possible to let conn find the ROI name in the original AAL.txt file by reading the same line of the number of density in the masked image?
Thank you very much!
Best regards,
Yifei
Originally posted by Yifei Zhang:
Dear all,
I want to use the DMN mask (already generated) to mask the AAL atlas in the first-level analysis, i.e., using the AAL ROIs that only within the DMN mask, and get the connectivity matrix based on this.
Since the analysis mask in SETUP->Options is only valid for voxel analysis and using this DMN mask as grey matter mask in SETUP->ROIS may cause an impact on the analysis. What is a better way to do this analysis?
In addition, When visualizing the connectivity matrix, how to order the ROIs for checking clustered ROIs (network component)?
Any help would be appreciated!
Best regards,
Yifei Zhang
I want to use the DMN mask (already generated) to mask the AAL atlas in the first-level analysis, i.e., using the AAL ROIs that only within the DMN mask, and get the connectivity matrix based on this.
Since the analysis mask in SETUP->Options is only valid for voxel analysis and using this DMN mask as grey matter mask in SETUP->ROIS may cause an impact on the analysis. What is a better way to do this analysis?
In addition, When visualizing the connectivity matrix, how to order the ROIs for checking clustered ROIs (network component)?
Any help would be appreciated!
Best regards,
Yifei Zhang
Threaded View
Title | Author | Date |
---|---|---|
Julia Landsiedel | Jul 21, 2014 | |
Alfonso Nieto-Castanon | Jul 22, 2014 | |
Kaitlin Cassady | Sep 5, 2023 | |
Mayron Pereira Picolo Ribeiro | Jul 10, 2020 | |
Julia Landsiedel | Jul 22, 2014 | |
Alfonso Nieto-Castanon | Jul 29, 2014 | |
Julia Landsiedel | Jul 30, 2014 | |
Yifei Zhang | Aug 1, 2014 | |
Yifei Zhang | Aug 5, 2014 | |
Alfonso Nieto-Castanon | Aug 6, 2014 | |