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  

|
September 23, 2014 06:56PM
Assuming you want to take one sub-brick of each subject (such as a coefficient in the stats file output by 3dDeconvolve), then 3dTcorr1D can do this. Though you'll have to do some basic legwork to get the files ready. First, put all of your scalar values in one text file (.1D), each column representing a different variable. Then you can use 3dbucket to create a single file with all of the 15 subjects (my example shows pulling out "condition1" from each file):

3dbucket -prefix AllSubjects Subject1+tlrc'[condition1#0_Coef]' Subject2+tlrc'[condition1#0_Coef]' Subject3+tlrc'[condition1#0_Coef]'

Finally you can run 3dTcorr1D:
3dTcorr1D -prefix MyCorrelationMap AllSubjects+tlrc ScalarData.1D

You will be able to threshold the resulting image in AFNI to see which voxels are significant at different r-values. You'll also notice that the program correlated all 15 variables with your image data and can scroll through them.

It's worth noting that you can also do this in 3dttest++, 3dMEMA, 3dMVM, and 3dRegAna. But I think the 3dTcorr1D is likely the most straightforward of these approaches for data like you describe.



Edited 4 time(s). Last edit at 09/23/2014 06:58PM by Peter Molfese.
Subject Author Posted

Which AFNI program can do this?

v1nch September 23, 2014 04:17PM

Re: Which AFNI program can do this?

Peter Molfese September 23, 2014 06:56PM

Re: Which AFNI program can do this?

rick reynolds September 23, 2014 09:18PM

Re: Which AFNI program can do this?

v1nch September 24, 2014 09:25AM

Re: Which AFNI program can do this?

Peter Molfese September 24, 2014 12:49PM

Re: Which AFNI program can do this?

v1nch October 17, 2014 11:43AM

Re: Which AFNI program can do this?

rick reynolds October 17, 2014 12:28PM

Re: Which AFNI program can do this?

v1nch October 17, 2014 02:03PM

Re: Which AFNI program can do this?

rick reynolds October 17, 2014 02:47PM

Re: Which AFNI program can do this?

v1nch October 17, 2014 03:47PM

Re: Which AFNI program can do this?

rick reynolds October 17, 2014 11:33PM

Re: Which AFNI program can do this?

v1nch October 20, 2014 09:38AM

Re: Which AFNI program can do this?

v1nch October 22, 2014 09:29AM

Re: Which AFNI program can do this?

rick reynolds October 22, 2014 10:17AM

Re: Which AFNI program can do this?

rick reynolds October 22, 2014 04:08PM