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  

|
April 28, 2020 11:18AM
Somebody must have a solution for this, but I can't find one.

In a loop, I run:

3dROIstats -numROI 194 -zerofill NA -mask <path>/freesurfer_v6/$s/surf/SUMA/aparc.a2009s+aseg_rank_Alnd_Exp_noddi_frac+orig \
<path>/noddi/dset/derivatives/sub-"$s"/ses-S1/NODDI/NDI.nii.gz > <path>/noddi/dset/derivatives/sub-"$s"/ses-S1/NODDI/NDI_a2009.txt

The problem is that the ROI numbers don't line up for each subject. E.g.,

File Sub-brick ..................................Mean_ctx_rh_S_temporal_sup Mean_ctx_rh_S_temporal_transverse Mean_194
<path>/4153033/<file>+orig 0[#0] 192 193 NA

File Sub-brick...................................Mean_ctx_rh_S_temporal_inf Mean_ctx_rh_S_temporal_sup Mean_ctx_rh_S_temporal_transverse
<path>/1131032/<file>+orig 0[#0] 192 193 194

So, e.g., in subject 4153033, ROI #193 is Mean_ctx_rh_S_temporal_transverse, but in 1131032 ROI #193 is Mean_ctx_rh_S_temporal_sup.

I have been trying to get everyone into a single data file (row = subject; col = region), but obviously this will be a problem. Is there no solution to this in AFNI? Isn't this a big problem? I wouldn't have noticed without careful data checking because once you resample you lose the region name information. I had to verify this problem by looking at the viewer for both subjects. So how do people deal with this?

Thanks for any help!
Anthony
Subject Author Posted

3dROIstats dealing with different ROI numbers across subjects

anthonystevendick April 28, 2020 11:18AM

Re: 3dROIstats dealing with different ROI numbers across subjects

ptaylor April 28, 2020 03:52PM

Re: 3dROIstats dealing with different ROI numbers across subjects

anthonystevendick April 28, 2020 04:09PM

Re: 3dROIstats dealing with different ROI numbers across subjects

anthonystevendick April 29, 2020 11:23AM

Re: 3dROIstats dealing with different ROI numbers across subjects

ptaylor April 29, 2020 02:28PM

Re: 3dROIstats dealing with different ROI numbers across subjects

anthonystevendick April 29, 2020 03:42PM

Re: 3dROIstats dealing with different ROI numbers across subjects

ptaylor May 03, 2020 04:58PM

Re: 3dROIstats dealing with different ROI numbers across subjects

anthonystevendick May 07, 2020 12:09PM

Re: 3dROIstats dealing with different ROI numbers across subjects

ptaylor May 07, 2020 04:43PM