Wrong ROI definition, Restplus

Submitted by kristinnordin on

Dear all,

I’m doing resting-state connectivity analyses in RESTplus (1.2), but keep on encountering an error message when extracting my ROI time courses (see text below). The mask files are all resliced according to BrainMask_05_61x73x61.img, and I’ve tried using mask files in both .nii and .img/.hdr format. Please let me know what I can do to make this step work.

 

Thank you!

/Kristin

 

Error using sprintf

Function is not defined for 'cell' inputs.

 

Error in rp_fc (line 239) error(sprintf('Wrong ROI definition, Please check: \n%s', AROIDef));

kristinnordin

Fri, 10/13/2017 - 06:44

The problem is now solved – there seemed to be an issue with the names of my mask files varying in length. Renaming e.g. “left_HC.img” and “right_HC.img” to “001.img” and “002.img” bypassed the issue of RESTplus not being able to load the files correctly. Maybe this is a known requirement, however, I was unaware of it. 

 

Thanks!

/Kristin

Forums