Data Processing Assistant for Resting-State fMRI (DPARSF) V1.0

Data Processing Assistant for Resting-State fMRI (DPARSF) is a convenient plug-in software based on SPM and REST. You just need to arrange your DICOM files, and click a few buttons to set parameters, DPARSF will then give all the preprocessed (slice timing, realign, nomalize, smooth) data, FC, ReHo, ALFF and fALFF results. DPARSF can also create a report for excluding subjects with excessive head motion and generate a set of pictures for easily checking the effect of normalization. You can use DPARSF to extract AAL or ROI time courses (or extract Gray Matter Volume of AAL regions, command line only) efficiently if you want to perform small-world analysis. This software is very easy to use, just click on buttons if you are not sure what it means, popup tips would tell you what you need to do. You also can download a MULTIMEDIA COURSE to know more about how to use this software. Add DPARSF's directory to MATLAB's path and enter "DPARSF" in the command window of MATLAB to enjoy it.

The latest release is DPARSF_V1.0_100510


Multimedia Course: Data Processing of Resting-State fMRI

New features of DPARSF_V1.0_100510:
1. Added a right-click menu to delete all the participants' ID.
2. Fixed a bug in converting DICOM files to NIfTI in Windows 7, thanks to Prof. Chris Rorden's new dcm2nii.
3. Now will detect if co* T1 image (T1 image which is reoriented to the nearest orthogonal direction to 'canonical space' and removed excess air surrounding the individual as well as parts of the neck below the cerebellum) exists before normalization by using T1 image unified segmentation. T1 image without 'co' is also allowed in the analysis now.

New features of DPARSF_V1.0_100420:
1. After extracting ROI time courses, not just functional connectivity will be calculated, but also transform the r values to z values by Fisher's z transformation.
2. Fixed a bug in generating pictures for checking normalization when the bounding box is not [-90 -126 -72;90 90 108].


Taxonomy upgrade extras:

Predefined Types:

Transform t-map from z-map

Hi, REST experts

I'm trying to analyse my resting state fMRI data using by REST v1.3.

You know, the results of REST is the z-map. But, I want to get the t-map.

So, how I can transform z-map to t-map? Or, if I can't that, how can I interprete the result of z-map?


How to decide the resample resolution? Why is the default 3mm*3mm*3mm?

 How to decide the resample resolution? Why is the default 3mm*3mm*3mm?


ROI definition

I am trying to run a correlation for a group of subjects at once. I have the timecourses for my seed ROI in text files. It seems however, that the option for defining voxelwise ROIs using text files only allows one file to be loaded at a time. Is it possible to load multiple text files, corresponding to the seed timecourses for each subject?
Thanks for your help,



 Hi again,
I am interested in using REST to examine anticorrelations. I just wanted to check the following:
1 - If I include a global signal timeseries as a covariable, then the analysis will produce maps showing voxels significantly correlated with the seed timecourse after controlling for global signal fluctuations. That is, it is essentially like performing a global signal regression. Is this correct?
2 - Anticorrelations will be revealed by negative values in the resulting connectivity and z-maps. Is this correct?

thanks for your help,


Pleae resmaple your mask or ROI definition file first!

Hi, Cleofé Peña Gómez!
     1. You need to resample your mask or ROI file to the dimension of your functional images.
          There were three ways: (1) use SONG Xiao-Wei's program, from                              

                                                 (2) use my program, from   (the third one)
                                                 (3) use SPM5:
                                                                       a. Click "Coregister"
                                                                       b. Click "New "Coreg: Reslice""
                                                                       c. "Image Defining Space": choose one of your functional image. e.g. your normalized functional image or image after Detrend and Filter.
                                                                       d. "Images to Reslice": choose the mask file or ROI definition file. e.g. BrainMask_05_61x73x61.img
                                                                       e. "Reslice Options" -> "Interpolation": choose "Nearest neighbour"
                                                                       f. Just click "Run". Then you will get the resmapled mask or ROI file with a surfix of "r".


Q&A: "REST error...ReadNiftiImage.m"


I am trying to analyze some resting state data using REST, but I cannot load the data in the GUI.  Am I correct to assume we need to enter data in conseqcutive file names of ANALYZE format?  The error message I get in Matlab refers to line 103 of rest_ReadNiftiImage.m

Is this script necessary if we are using ANALYZE not NIFTI?  If it is not necessary how do I skip it.

I do not know how to proceed.  Any assistance would be greatly appreciated.

Thank you,



RE: long mixed session of rest and task

A long session, 22 minutes: Resting state 9 minutes, and then a blocked design (2 minutes task + 30s rest) 13 minutes. The questions are:
(1) Is the head motion a concern?
(2) Can the 9-minutes rest be used as a baseline for the data analysis of the blocked design?

My answer:
(1) Yes. There may be more head motion for such a long session. But occasionally, a long rest is necessary (e.g., epilepsy and sleep study).


Sharing Some Useful Programs

Hi, all!

Out of memory--Error message for running ReHo and FC tools

Dear REST experters:

      I am new to run REST toolbox. When running ReHO and FC, get the following error messages. I don't know what wrong I did. BTW, do you have some stand along program or easy tools for extracting the time course data. Thanks in advance.


error messages:



Subscribe to Front page feed