combine multiple runs

Submitted by Matteo85 on

Dear collegues,

I would like to run with DPARSF a rs fMRI analysis on NifTI .nii.gz files coming from a sample of subject who did 2 separate but contiguous runs at rest: this means that I have more than 1 .nii.gz files for each subject, realtive to the first and second run.

Is it possible to organize the data  as follow: FunImg folder --> Subject folder --> more than 1 .nii.gz files? I'm asking this cause I thought it was necessary to have one single .nii.gz file for each subject, am I wrong?

In case is it possible to "merge" or combine different .nii.gz files from separate but contiguous runs at rest?

 

Thank you for your help

 

The analysis starts correctly,

but few seconds after the start, after having cropped and reoriented T1 images, 

Matlab displays this error message:

Error using gunzipwgunzipwrite (line 209)
File "rest.nii.gz" is not in GZIP format.
 
Error in gunzipEgunzipEntries (line 147)
  names{k} = gunzipwrite(entries(k).file, outputDir, baseName, streamCopier);
 
Error in gunzip (line 89)
   names = gunzipEntries(entries, outputDir);
 
Error in DPARSFA_run>(parfor body) (line 470)
                                gunzip(DirImg(1).name);
 
 
Error in DPARSFA_run (line 464)
                    parfor i=1:AutoDataProcessParameter.SubjectNum
 
 
Error in DPARSFA>pushbuttonRun_Callback (line 1761)
    [Error]=DPARSFA_run(handles.Cfg);
 
 
Error in gui_mainfcn (line 95)
        feval(varargin{:});
 
Error in DPARSFA (line 30)
    gui_mainfcn(gui_State, varargin{:});
 
 
Error while evaluating UIControl Callback
 
can you help me with its interpretation?

Cause the sentence File "rest.nii.gz" is not in GZIP format. is not clear, to me..

rest.nii.gz file is actually the output file from the conversion I performed with the 'compressed FSL (4D NIfTI nii)' option of dcm2nii, starting from the two PAR and REC files (phillips scanner) that I dragged and dropped on the dcm2nii icon.

Is there something wrong in this process?