help > RE: Extract Sorted 2nd Level ROI-ROI Matrix
Jul 30, 2021  03:07 PM | Alfonso Nieto-Castanon - Boston University
RE: Extract Sorted 2nd Level ROI-ROI Matrix
Hi Spencer,

Clicking on the 'export mask' button will save a 2D NIFTI file containing the 132x132 matrix of T/F/ statistics associated with each (suprathreshold) connection, in the same order as they appear in the GUI. You may read the data in that file using a syntax like:

[stats, roinames] = conn_mtx_read( '/my2ndlevelfolder/results.nii');

Hope this helps
Alfonso

Originally posted by Spencer Upton:
Hello,

I have done an ROI to ROI bivariate correlation on resting state data using the default CONN atlas (132 x 132). At the second-level, I get an ROI matrix of this, but it is randomly sorted.

I am trying to get 2nd-level ROI matrices that are "sorted" by atlas group. In the 2nd level results tab I can order the visual results to this (by selecting 'ROIs sorted using CONN atlas apriori order/group'), but I cannot seem to extract the corresponding .mat file. There is a button that says 'Save ROI order/group to file' but it does not give me the 132x132 matrix.

Is there a way to do this? If yes, can you walk me through it?
 
Thank you,
-SU

Threaded View

TitleAuthorDate
Spencer Upton Jul 28, 2021
RE: Extract Sorted 2nd Level ROI-ROI Matrix
Alfonso Nieto-Castanon Jul 30, 2021
Spencer Upton Aug 2, 2021
Alfonso Nieto-Castanon Aug 2, 2021
Spencer Upton Aug 3, 2021
Alfonso Nieto-Castanon Aug 3, 2021
Spencer Upton Aug 3, 2021
Dione Q Oct 6, 2021
Spencer Upton Aug 3, 2021
Spencer Upton Aug 4, 2021
Spencer Upton Aug 3, 2021