Dear Freesurfers,
I recently tried to correlate age in a group of subjects with their cortical thickness. After having set up an FSDG file and my contrasts, I ran mris_preproc and mri_surf2surf, and finally mri_glmfit. This, however, did not work and I got this errormessage:
gdfReadHeader: reading age.fsgd INFO: ignoring tag Variable ERROR: gdfReadV1: Input line 1, subjid = xxx Found 1 variables, expected. 0 FSGDF Format Error: file = age.fsgd, tag=Input
It looks like an error in the FSGD file but I set it up in exact accordance with the example on the website.
Having one group and one covariate, my FSDG file looks like this:
GroupDescriptorFile 1 Title OSGM Class Main Variable Age Input xxx Main 23.5 Input yyy Main 47.3 ...
Here are my contrasts:
Contrast1: 1 0
Contrast2: 0 1
and the mri_glmfit command I run:
mri_glmfit --glmdir lh.age.thickness.10B.mgh --y lh.age.thickness.10B.mgh --fsgd age.fsgd --C Contrast1.mtx --C Contrast2.mtx --cortex --surf
What is the problem?
Thank you very much for your help! It is highly appreciated.
Best,
Theodor