Hi,

I am not entirely sure I am doing it right, therefore would like to have a
confirmation if possible.

I am runing a paired ttest between two conditions by specifying file names.
Here is an example of 2 subjects

mris_preproc \
--target fsaverage \
--hemi lh \
--out /ResultsDir/lh.outfilename.mgh \
--fsgd pairs.fsgd \
--is /subject1/condition1.mgh \
--is /subject1/condition2.mgh \
--is /subject2/condition1.mgh \
--is /subject2/condition2.mgh \
--srcfmt curv \
--paired-diff

mri_surf2surf --s fsaverage \
--hemi lh \
--fwhm 5\
--sval /ResultsDir/lh.outfilename.mgh \
--tval /ResultsDir/lh.outfilename.sm05.mgh

mri_glmfit \
--glmdir /ResultsDir \
--y /ResultsDir/lh.outfilename.sm05.mgh \
--fsgd paired-diff.fsgd \
--C mean.mtx \
--surf fsaverage lh \
--cortex

%% my pairs.fsgd file

GroupDescriptorFile 1
Title StudyTitle
Class Main

Input subject1 Main
Input subject1 Main
Input subject2 Main
Input subject2 Main

%% my paired-diff.fsgd

GroupDescriptorFile 1
Title StudyTitle
Class Main

Input subject1 Main
Input subject2 Main

%% my mean.mtx file

1


Thanks,
Dace
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to