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  

|
November 02, 2009 09:12AM
Hi Aditya,

I would just script this. Note that you can use 3dROIstats to
get the average per subject (but in one command), and redirect
the output to a 1D file. You can then get the mean from that
via 3dTstat.

Consider something like this:

----------------------------------------------------------------------
foreach cond ( cA cB cC )
3dROIstats -quiet -mask mask+tlrc beta.subj*.$cond+tlrc.HEAD > stats.$cond.1D
3dTstat -mean -prefix - stats.$cond.1D\' > mean.$cond.1D
end

cat mean.*.1D > condition.means.1D
3dTstat -mean -prefix - condition.means.1D\' > final.mean.1D
----------------------------------------------------------------------

- rick

Subject Author Posted

Averaging across subjects and over clusters

Aditya Prasad October 31, 2009 09:14PM

Re: Averaging across subjects and over clusters

rick reynolds November 02, 2009 09:12AM