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 25, 2014 04:30PM
Hi John,

Getting a map of the average correlation with all
gray matter voxels is something an afni_proc.py
script almost does already. Instead, it computes
the average correlation of all pairs of "brain"
voxels (gray, white, CSF), calling that GCOR.

Looking at such a script, GCOR is computed (from
the errts dataset) via:

3dTnorm -norm2 -prefix rm.errts.unit errts.${subj}+tlrc
3dmaskave -quiet -mask full_mask.$subj+tlrc rm.errts.unit+tlrc > gmean.errts.unit.1D
3dTstat -sos -prefix - gmean.errts.unit.1D\' > out.gcor.1D

To alter this:
1. Change the input to 3dTnorm to whatever is
appropriate, or maybe the same thing.

2. Input a gray matter mask to 3dmaskave.

3. Instead of the 3dTstat command, correlate
each voxel with the result from 3dmaskave.

3dTcorr1D -prefix gray.corr rm.errts.unit+tlrc gmean.errts.unit.1D

This will produce a whole volume map, not just
restricted to the gray matter. You can further
restrict the result if desired.

- rick
Subject Author Posted

Identifying the brain's most globally connected regions

afniuser November 25, 2014 09:13AM

Re: Identifying the brain's most globally connected regions

rick reynolds November 25, 2014 04:30PM

Re: Identifying the brain's most globally connected regions

Isaac Schwabacher November 25, 2014 04:43PM

Re: Identifying the brain's most globally connected regions

afniuser November 26, 2014 05:30AM