fMRI: how to do ROI analysis

42 sec read

ROI stands for region of interest. The region is predefined usually from glm contrast. For example, you find visual cortex is activated when a flash is presented through glm analysis, you may then do more analysis on this particular region.

ROI analysis usually means a plot of BOLD signal in this region against time. In some cases, you may also want to do correlation analysis. I will explain how to do these analysis below. I will also give an example.

Before you do any ROI analysis, you should have the following data in hand:
1. Preprocessed image files which contains the BOLD signals. The file names are usually of the format swaf*.img and swaf*.hdr.
2. The onset time of each event of interest.
3. The coordinates of the voxels in the region of interest, or a mask image.
4. If you want to find the correlation between two regions, you need another set of 3.
5. If you want to find the correlation between BOLD signal and the stimulus property (such as the intensity of flash), you need data of this property.

The following script is written in MatLab. It explains how to do basic ROI analysis. download roi.m



写作助手,把中式英语变成专业英文


Want to receive new post notification? 有新文章通知我

第五十七期fNIRS Journal Club通知2024/11/02, 10am 王欣悦博士

肢体语言——例如人际距离、眼神、手势等,如何影响我们的交流,是一个有趣的谜题。它们是优雅而神秘的代码,无本可依、无人知晓,却又无人不懂。来自南京师范大学的王欣悦博士将分享如何通过fNIRS超扫描技术,
Wanling Zhu
16 sec read

第五十六期fNIRS Journal Club视频 李开云副教授

Youtube: https://youtu.be/bKanFfeV5Ao 优酷:https://v.youku.com/v_show/id_XNjQzNDUzMjU4OA==.html 孤独症谱系障
Wanling Zhu
27 sec read

第五十六期fNIRS Journal Club通知2024/09/28, 10am 李开云副教授

孤独症谱系障碍(Autism Spectrum Disorder, ASD)是一种复杂的神经发育障碍,其核心特征包括社交沟通障碍、重复刻板行为和限制性兴趣。济南大学教育与心理科学学院李开云博士借助fN
Wanling Zhu
21 sec read

8 Replies to “fMRI: how to do ROI analysis”

  1. I am attempting to run your ROI script, but I always receive errors for the line: coord = mask2coord(‘mymask.img’). Matlab does not undersand the mask2coord command or function. I have to ten .img files for the ROI. How can I find the coordinates so that they work with your script?

  2. Dear Xu,
    What is the difference of the ROI analysis between the method you introduced here and the way carried out marsbar?

  3. Hello Xu,

    I am doing a MSc internship in a neuroimaging lab and being asked to run over 100 ROI analysis for every patient we are scanning and also at group level. Our regions have all been defined a-priori by reading the literature in particular a meta-analysis of the disorder. Nonetheless these amount to over 50 activation region masks (sometimes multiple masks per region), and around 20 deactivations and 20 correlations with little overlap.

    My basic question is how many ROI analysis is it ok to run? Is there a guideline somewhere? Most studies seem to concentrate on no more than 10 regions. Is my supervisor being unreasonable and not rigorous enough? Is this frowned upon?

    I know this comment is not specifically on your program but I cannot email the SPM list because my supervisor will know who I am and I am trying to understand his reasoning behind ROI analysis (which he is not helping me understand). I would be really grateful if you could give me some advice or point me to someone who could.

    Cheers!

  4. @Alex
    Interesting!

    During data exploration phase, one can do a lot of analysis, including tons of ROIs. Of course, only a small fraction are included in the final manuscript. However, the more ROI you do, the more likely you will discover something false positive. You can use FDR correction though.

    Keep in mind the time spent on 1 ROI is not much different from the time on 100 ROI if you have a matlab script to do it automatically (Feel free to adopt my code to your own use). I would do what your advisor asked for, summarize the findings, and let your advisor decide which to include in the final manuscript.

    Good luck!

  5. Hi,
    I have 2 groups of data,controls & patients.
    I have fmri datas of them in auditory task.
    now I need extracting ROIs of them( related to activity),
    How can I do it?

    thanks
    zahra

Leave a Reply

Your email address will not be published. Required fields are marked *