Dear Freesurfer experts,
In the QDEC plot there is the possibility to view cortical thickness for each subject in a specific region. Is there a possibility to make an automatic table of all these thickness data ?
In a previous question, the answer was to use a script:
===========================
# Script created December 2007 by Pedro Paulo Jr.
# Use with Freesurfer 4.x
# Updated: 24/03/2010
set FSAVERAGE_DIR = "usr/local/freesurfer/subjects/fsaverage"
cd /usr/local/freesurfer/subjects/qdec/QDEC-DATA
set numsubject = 17
for i in 'seq 1 $numsubject'
do
mri_convert --frame $i y.mgh $FSAVERAGE_DIR/surf/lh.$i.mgh
mris_convert -c $i.mgh $FSAVERAGE_DIR/surf/lh.inflated lh.$i.asc
done
===========================
But that script doesn't work in tcsh, so we changed the cmd line:
===========================
foreach i in (`seq 1 $numsubject`)
mri_convert --frame $i y.mgh $FSAVERAGE_DIR/surf/lh.$i.mgh
mris_convert -c $i.mgh $FSAVERAGE_DIR/surf/lh.inflated lh.$i.asc
end
===========================
But we still receive error.
Can you please help us ? (we use FS 5.1, Centos4_x86_64)
Thank you in advance,
Sincerely,
Alex.