I am using linux-Mint (ubuntu) system with MATLAB R2013b and SPM8. I could not get REST work at first place: it could not find subjects in the ProcessingDemoData directory.
Anyway I have got DPARSF almost work except FC part. I have attached my DPARSF setup file here.
For the FC part I have the following errors:
Calculating Functional Connectivity by Seed based Correlation Anlyasis...
Read 3D EPI functional images: "/home/jiancscratch/tryREST/ProcessingDemoData/FunImgNormalizedSmoothedDetrendedFilteredCovremoved/Sub_001".
Load mask "Default".Error using -
Matrix dimensions must agree.
Error in y_SCA (line 256)
SeedSeries=SeedSeries-repmat(mean(SeedSeries),size(SeedSeries,1),1);
Error in DPARSF_run (line 1329)
y_SCA([AutoDataProcessParameter.DataProcessDir,filesep,FunImgDir,filesep,AutoDataProcessParameter.SubjectID{i}], ...
Error in DPARSF>pushbuttonRun_Callback (line 996)
[Error]=DPARSF_run(handles.Cfg);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in DPARSF (line 48)
gui_mainfcn(gui_State, varargin{:});
Error while evaluating uicontrol Callback
Sub_001 Sub_002 Sub_003
It will be very much appreciated if you can give helps.
Attachment | Size |
---|---|
DPARSF.png | 46.9 KB |
Submitted by yuanbinke on Mon, 07/28/2014 - 15:18 Permalink
Re: REST and DPARSF error on demonstration data set
Hi,
the error message is ''Matrix dimensions must agree'' , that means the dimension of your mask you specified does not agree with the dimension of your functional data (sub001).
You can reslice the mask (REST-Utilizes-Reslice Image) to the resolution of your functional data (e.g., 3x3x3 mm).
Binke
Submitted by Jian Chen on Tue, 07/29/2014 - 07:56 Permalink
Re: REST and DPARSF error on demonstration data set
Dear Binke,
Thanks for your replay. I used defualt mask option, ie. I didn't specify my own mask. Is there a defualt mask inculued the the demostration data set? Or I must create my own mask in order to run the demo?
Jian
Submitted by yuanbinke on Wed, 07/30/2014 - 18:23 Permalink
Re: REST and DPARSF error on demonstration data set
Hi Jian,
Please check the dimension of your demo data. I guess the dimensions of your demo data and the defulat mask are not equal.
You can find the defualt mask (Voxel size:3x3x3, dimension:[61,73,71]) in DPARSF or REST toolbox (in the 'Mask' file).
Best regards,
Binke