Warning: Table './restf1_drupal/cache_page' is marked as crashed and should be repaired query: SELECT data, created, headers, expire, serialized FROM cache_page WHERE cid = 'http://restfmri.net/forum/node/1838' in /home/restf1/public_html/forum/includes/database.mysql.inc on line 136

Warning: Cannot modify header information - headers already sent by (output started at /home/restf1/public_html/forum/includes/database.mysql.inc:136) in /home/restf1/public_html/forum/includes/bootstrap.inc on line 726

Warning: Cannot modify header information - headers already sent by (output started at /home/restf1/public_html/forum/includes/database.mysql.inc:136) in /home/restf1/public_html/forum/includes/bootstrap.inc on line 727

Warning: Cannot modify header information - headers already sent by (output started at /home/restf1/public_html/forum/includes/database.mysql.inc:136) in /home/restf1/public_html/forum/includes/bootstrap.inc on line 728

Warning: Cannot modify header information - headers already sent by (output started at /home/restf1/public_html/forum/includes/database.mysql.inc:136) in /home/restf1/public_html/forum/includes/bootstrap.inc on line 729
functional connectivity correlation matrix | Forum of resting-state fMRI

functional connectivity correlation matrix

warning: Cannot modify header information - headers already sent by (output started at /home/restf1/public_html/forum/includes/database.mysql.inc:136) in /home/restf1/public_html/forum/includes/common.inc on line 148.

Dear Authors,
I would like to obtain, for each subject, a matrix of the correlation between the seed and all the voxels of the brain.
Is it possible to obtain such a ".mat" file from a functional connectivity analysis?

Re: functional connectivity correlation matrix

Thank you,
I've tried to run the function "rest_ReadNiftiImage", but I got this error:
"File doesn't exist: Volumes\Dati_new\Analysis\Results\seed_cerebellum\FCMap1.nii"

However the nifti file is located into the folder "seed_cerebellum". What would you suggest?
Best,
Manuela

Re: functional connectivity correlation matrix

 you should provide the full directory, like C:\.....\XXX.nii

Re: functional connectivity correlation matrix

yes you can do it. 
the simplest way to do this is using REST functional connectivity toolbox. 

In this toolbox, you need to define a seed region, then input your data. The toolbox will output an image file "XXX.nii".

Then you can use  "rest_ReadNiftiImage", a REST function in matlab, to read your XXX.nii into mat format.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.