I'm running a group analysis where I'd like to compare myelination between two groups regressing out cortical thickness.
Unfortunately I get always the same error message:
dimension mismatch between X and contrast group.diff.mtx X has 3 cols, C has 4 cols. Is my group.mtx correct?
My command line is:
mri_glmfit --y rh.t1t2ratio_30_fmed_3sm_decurv.fsavg.mgh --fsgd thickness.fsgd --pvr rh.thickness_30.fsavg.mgh --C group.diff.mtx --C group-x-thick --Cg1g2.intercept.mts --C g1g2.thick.mtx --surf fsaverage rh --cortex --glmdir rh_allbrain_t1t2_group_thickness.glmdir
My group_diff.mtx: 1 -1 0 0
This is my FSGD FILE:
GroupDescriptorFile 1
Title Myelin
Class HC
Class CMT
Input fs_VF HC
........
Thank you very much for your help