Dear Freesurfers,
Is there a possibility to run mri_anatomical_stats on many subjects? Otherwise it would be quite time_consuming.
Many thanks,
Holger
Holger, What we often do here is create a script that contains all the subjects that looks something like this:
set SUBJECTS = (001 002 003 004) setenv SUBJECTS "$SUBJECTS"
And then you can do a foreach loop after sourcing that script: foreach s ($SUBJECTS) mris_anatomical_stats -mgz -f stats/rh.aparc.stats -b -a label/rh.aparc.annot -c label/aparc.annot.ctab $s rh
Let me know if you have any questions. Allison
On Tue, 3 Jan 2012, Klein, Holger wrote:
Dear Freesurfers, Is there a possibility to run mri_anatomical_stats on many subjects? Otherwise it would be quite time_consuming.
Many thanks,
Holger
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu