help > NBS input
Showing 1-3 of 3 posts
May 29, 2013 02:05 PM | Benedikt Taud
NBS input
Hi,
I am using DPARSF for the preprocessing prior to using NBS. Which connectivity matrix do I have to us as input into NSB,
there are several options: The ROI_FCMap.txt in the results/FC folder; The ROICorrelation_FisherZ_.txt, ROICorrelation.txt or ROISignals.txt in the results/FunRawRWSDFC_ROISignals folder?
Thank you very much
Ben
I am using DPARSF for the preprocessing prior to using NBS. Which connectivity matrix do I have to us as input into NSB,
there are several options: The ROI_FCMap.txt in the results/FC folder; The ROICorrelation_FisherZ_.txt, ROICorrelation.txt or ROISignals.txt in the results/FunRawRWSDFC_ROISignals folder?
Thank you very much
Ben
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
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
May 30, 2013 01:05 PM | Benedikt Taud
RE: NBS input
Hi Luca,
thank you for your quick and detailed response!
Ben
thank you for your quick and detailed response!
Ben
