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  

|
July 19, 2012 12:23PM
This may be an "old school" approach, but here goes... Since you have warped to tlrc in your pipeline you can use the TT_N27+tlrc template (the default for afni_proc.py) to construct a mask.

1. Copy the file from your afni folder:
3dcopy ~/abin/TT_N27+tlrc ~/Desktop/your_files/TT_N27+tlrc

2. Create a mask from that template:
3dAutomask -prefix TT_Mask TT_N27+tlrc

3. Modify the resolution of your mask
3dresample -master SingleSubjectStatsFile+tlrc -inset TT_Mask -prefix TT_Mask_lowres

4a. Use your mask in your 3dttest++/3dMEMA command (modified from the help command)

gen_group_command.py -command 3dttest++   \
-write_script cmd.tt++.3                                       \
-prefix tt++.3_V-A                                               \
-dsets stats*.HEAD                                           \
-set_labels Vrel Arel                                           \
-subs_betas  'Vrel#0_Coef' 'Arel#0_Coef'          \
-options                                                               \
 -mask TT_Mask_lowres+tlrc

4b. Use 3dcalc to mask your data that is already processed (will wipe out your stats thresholds and FDR)

3dcalc -a groupAnalysis+tlrc -b TT_Mask_lowres+tlrc -prefix forDisplayPurposes -expr 'a*b'



Edited 1 time(s). Last edit at 07/19/2012 12:24PM by Peter Molfese.
Subject Author Posted

mask at group level

lianablair July 11, 2012 03:38PM

Re: mask at group level

Isaac Schwabacher July 11, 2012 04:20PM

Re: mask at group level

rick reynolds July 11, 2012 04:31PM

Re: mask at group level

lianablair July 19, 2012 10:47AM

Re: mask at group level

Peter Molfese July 19, 2012 12:23PM

Re: mask at group level

lianablair July 19, 2012 01:30PM

Re: mask at group level

rick reynolds July 19, 2012 09:09PM

Re: mask at group level

Anonymous User July 20, 2012 10:21AM

Re: mask at group level

gang July 20, 2012 11:38AM