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  

|
Iris L. Yang
April 20, 2009 11:44AM
Hi Gang,

I tried to do group ICA. Using the method proposed by Calhoun et al. (2004), I reduced each subject's time points from 164 to 64 using PCA and then concatenated all subjects into one dataset. I used combined dataset to be the input of 3dICA.R.

However, I had alignment problem. The concatenated functional run did not align with anatomical run well. I also tried convert all the functional run in to tlrc and then concatenate, but it did not work.

Did I do something wrong? I've attached the script I wrote in the end. Do you have any recommendation about how to do group ICA?

I would greatly appreciate your help.

Thanks,
Iris

P.S
# reduce time points for each subject from 164 to 41 using PCA

3dpc -vmean -vnorm -pcsave 30 -float -mask RestEyeClose_mask800+orig -prefix PreICA_timepoint40_{$sub} reg_RestEyeClose_blur+orig

#concatenate data from all subjects

3dTcat -session . -prefix PreICA_concat_before_dimreduce_8Ss PreICA_timepoint40_RS_001+orig PreICA_timepoint40_RS_002+orig PreICA_timepoint40_RS_003+orig PreICA_timepoint40_RS_005+orig PreICA_timepoint40_RS_008+orig PreICA_timepoint40_RS_009+orig PreICA_timepoint40_RS_010+orig PreICA_timepoint40_RS_014+orig

#reduce dimension of aggregated data to 20 (number of sources selected)
3dpc -mask RestEyeClose_mask800+orig -reduce 20 PreICA_concat_redim_RestEyeClose -prefix PreICA_RestEyeClose PreICA_concat_before_dimreduce_8Ss+orig

#tlrc aggregated data
adwarp -apar T1Volume+tlrc -dpar 'PreICA_concat_redim_RestEyeClose+orig' -dxyz 3 -prefix ICAInput_RestEyeClose_dxyz3

# find the components
# .gz file can not be processed, needs to be unziped

gunzip ICAInput_RestEyeClose_dxyz3+tlrc.BRIK.gz

3dICA.R RestEyeClose_dxyz3_ICAOutput
Subject Author Posted

Group ICA question

Iris L. Yang April 20, 2009 11:44AM

Re: Group ICA question

Gang Chen April 21, 2009 11:42AM

Re: Group ICA question

Iris L. Yang April 22, 2009 01:37PM

Re: Group ICA question

Iris L. Yang April 22, 2009 05:15PM

Re: Group ICA question

Gang Chen April 24, 2009 10:59AM

Re: Group ICA question

Iris Yang April 24, 2009 01:19PM

Re: Group ICA question

Gang Chen April 27, 2009 02:30PM