Quantcast
Channel: NITRC CONN : functional connectivity toolbox Forum: help
Viewing all articles
Browse latest Browse all 6860

RE: Subject-specific ROIs in CONN batch

$
0
0
[color=#000000]Dear Pavan,[/color]

[color=#000000]Your script looks perfectly fine but CONN batch syntax expects cell arrays (instead of strings) in the list of filenames for each ROI, so I believe simply changing the lines that read:[/color]

   grey = string(conn_dir('*_c1rs*.nii'));
   white = string(conn_dir('*_c2rs*.nii'));
   etc.

to:

   grey = cellstr(conn_dir('*_c1rs*.nii'));
   white = cellstr(conn_dir('*_c2rs*.nii'));
   etc.

should do the trick.

Best
Alfonso

[i]Originally posted by Pavan Bains:[/i][quote]Dear Alfonso & the CONN community,

I am using batch code to conduct my analysis - my ROIs are subject-specific, but I don't know how to specify this in the script. My current script is attached. Any guidance would be greatly appreciated!

Kind Regards,
Pavan[/quote]

Viewing all articles
Browse latest Browse all 6860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>