help > RE: NBS input
May 30, 2013  05:05 AM | Andrew Zalesky
RE: NBS input
Hi Ben,

After preprocessing the data, DPARSF (http://www.restfmri.net/forum/DPARSF) generates a text ".txt" file storing the functional connectivity matrix for each subject. A separate file is generated for each subject. The files should be called "ROIcorrelation.txt". Other ".txt" files may be generated as well, but they are not relevant to the NBS. To ensure you are using the correct text file, open it and check that the values are between -1 and 1, and that the matrix is symmetric. You should put all of these files in a separate directory. You will have to rename them appropriately; for example, "ROIcorrelation_Subject01.txt", "ROIcorrelation_Subject02.txt", "ROIcorrelation_Subject03.txt", etc. Finally, in the "Connectivity Matrices" field of the NBS GUI, just select one of these files (i.e. ROIcorrelation_Subject01.txt) and the NBS will automatically find the other files for all the other subjects in that directory. That's it.

Another option is to use the Matlab ".mat" files that DPARSF generates (i.e. "ROIcorrelation.mat").  These ".mat" files (i.e. connectivity matrices) need to be concatenated across all the subjects to create a single 3D connectivity matrix. To do so, you will need to load each matrix into the Matlab workspace and then concatenate them across all subjects to form a single 3D matrix using the Matlab "cat" command.  The resulting 3D matrix can be directly loaded in NBS via the GUI. This option is probably more complicated, so it might be worth using the ".txt" files as described above. 

Please let us know if you need further help,

Luca

Threaded View

TitleAuthorDate
Benedikt Taud May 29, 2013
RE: NBS input
Andrew Zalesky May 30, 2013
Benedikt Taud May 30, 2013