help > RE: Export ROI-to-ROI matrices in csv format
Feb 11, 2020  04:02 PM | aster_h
RE: Export ROI-to-ROI matrices in csv format
Hi Allie,

thanks a lot for your quick answer, this was exactly what i was looking for. Seems like python was the wrong way to go for this. And I forgot, that the file has substructures and Z has to be choosen before converting. Thanks!

Kind Regards
Hans


Originally posted by allison_shapiro:
Hi Hans,

I had worked a bit on this too. Here is the Matlab code that I used to extract the ROI matrix:

sub1_roi = load('resultsROI_Subject001_Condition003.mat');
csvwrite('sub1_roi.csv',sub1_roi.Z);

I've bolded the pieces that should be consistent across the CONN output files. You can find the 'resultsROI_Subject001_Condition003.mat' file in the '[CONN_project]/results/firstlevel/' folder.

If this is not correct, please let me know. Wouldn't want to lead you astray!

Allie

Threaded View

TitleAuthorDate
aster_h Feb 11, 2020
allison_shapiro Feb 11, 2020
RE: Export ROI-to-ROI matrices in csv format
aster_h Feb 11, 2020