AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
May 23, 2023 01:24PM
Hi Philipp,

ROI (average or multiple PC) regression can be done via -regress_ROI or -regress_ROI_PC, where masks are passed via either -anat_follower_ROI or -mask_import (or via the internal 3dSeg generation).

Example 11 shows use of -anat_follower_ROI (with FreeSurfer ROIs), which can then be applied with either -regress_ROI or -regress_ROI_PC. In this case, the ROIs start of in "original anat" space, and are warped to the final space on the EPI grid.

Example 11b shows use of -mask_import, which can be similarly applied. This ROI must already be in the final space on the EPI grid. It will not be warped at all. A "brain" mask could even start as a standard space mask this way.

You can even give multiple ROIs to apply this way, and even mixing -regress_ROI and -regress_ROI_PC across them. Note that the default use of "brain" means the EPI brain mask, not the anatomical one, if that matters.


Getting to your case, assuming the cortex sheet is like a FreeSurfer mask, pass it with -anat_follower_ROI and apply it with -regress_ROI, e.g.

-anat_follower_ROI   cortex  epi  FS_cortex.nii.gz \
-regress_ROI            cortex

Does that seem reasonable?

- rick
Subject Author Posted

GSR in AFNI proc - how to apply GSR based on a ROI?

Philipp May 23, 2023 11:56AM

Re: GSR in AFNI proc - how to apply GSR based on a ROI?

rick reynolds May 23, 2023 01:24PM

Re: GSR in AFNI proc - how to apply GSR based on a ROI?

Philipp May 23, 2023 01:45PM

Re: GSR in AFNI proc - how to apply GSR based on a ROI?

rick reynolds May 23, 2023 03:39PM

Re: GSR in AFNI proc - how to apply GSR based on a ROI?

Philipp May 24, 2023 12:28AM

Re: GSR in AFNI proc - how to apply GSR based on a ROI?

Philipp May 24, 2023 08:23AM

Re: GSR in AFNI proc - how to apply GSR based on a ROI?

ptaylor May 24, 2023 08:34AM

Re: GSR in AFNI proc - how to apply GSR based on a ROI?

rick reynolds May 24, 2023 09:05AM

Re: GSR in AFNI proc - how to apply GSR based on a ROI?

Philipp May 25, 2023 02:49PM