AFNI Message Board

History of AFNI updates  

|
October 28, 2021 04:15PM
Apologies for talking to myself so much, but I think I almost got there

set nvi     = `3dinfo -nvi ${IntBrainUARM}`
foreach atlas_level ( `seq 0 1 ${nvi}` )

    3dROIstats -mask "${IntBrainUARM}+tlrc[${atlas_level}]" \
    -nomeanout -key \
    "${IntBrainUARM}+tlrc[${atlas_level}]" \
     > ${IntBrainUARM}_${atlas_level}_ROIs.txt

end
The format of the resulting files is still wrong for my purpose (rows instead of columns, some unnecessary info, each level preceded with Key_), but that's a matter of reformatting, doable. Probably even in tcsh.



Edited 1 time(s). Last edit at 10/28/2021 04:15PM by Pawel.
Subject Author Posted

List of clusters/ROIs

Pawel October 28, 2021 01:59PM

Re: List of clusters/ROIs

Daniel Glen October 28, 2021 02:31PM

Re: List of clusters/ROIs

Pawel October 28, 2021 02:43PM

Re: List of clusters/ROIs

Pawel October 28, 2021 03:49PM

Re: List of clusters/ROIs

Pawel October 28, 2021 04:15PM

Re: List of clusters/ROIs

Daniel Glen October 28, 2021 06:56PM

Re: List of clusters/ROIs

Pawel October 28, 2021 08:01PM

Re: List of clusters/ROIs

ptaylor October 29, 2021 07:52AM

Re: List of clusters/ROIs

Pawel October 29, 2021 03:50PM



Sorry, only registered users may post in this forum.

Click here to login