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 15, 2016 12:44PM
Hello,

I am doing a seed based analysis on resting state data and instead or looking at correlations within the entire brain, we wanted to restrict the analysis to neocortex. I figured I would adjust my mask in 3dDeconvolve to analyze just neocortex (as indicated below ***) but in order to create that mask, I would have to add 100 or so ROIs. Is there a way that I could say, rather, (this atlas - regions (x+y+z)) rather than regions 1+2+3...100. Or even an easier way with 3dautomask or something?

this is the way I normally generate ROIs
3dcalc -a $atlas -expr "equals(a,34)+equals(a,33)" -prefix ${ROI}.nii

3dDeconvolve -input $dset \
-mask anat_mask_rs+tlrc'[0]'\ ***** Change anat_mask to neoctx_mask*******
-polort -1 \
-jobs 8 -float \
-num_stimts 1 \
-stim_file 1 ${s}_${ROI}.1D \
-stim_label 1 ${ROI} \
-tout -rout -bucket ${s}_buc_${ROI} -overwrite


Thanks as always!!
Subject Author Posted

masking with 3dcalc

sharyn September 15, 2016 12:44PM

Re: masking with 3dcalc

ptaylor September 15, 2016 01:29PM

Re: masking with 3dcalc

rick reynolds September 15, 2016 02:26PM

Re: masking with 3dcalc

sharyn September 15, 2016 02:39PM

Re: masking with 3dcalc

rick reynolds September 15, 2016 02:53PM

Re: masking with 3dcalc

sharyn September 15, 2016 02:35PM

Re: masking with 3dcalc

ptaylor September 15, 2016 02:54PM