External Email - Use Caution Hello,
I am trying to run a correlational analysis with glm_fit on a masked area with the code: foreach hemi (lh) foreach smoothness (10) foreach meas (volume thickness) mri_glmfit \ --y {$hemi}.{$meas}.{$study}.{$smoothness}.mgh \ --fsgd FSGD/{$study}.fsgd \ --C Contrasts/Scores_Slope.mtx \ --surf fsaverage {$hemi} \ --mask lhYeo2011_7NetworksConfidence_N1000.mgz \ --glmdir {$hemi}.{$meas}.{$study}.{$smoothness}.glmdir end end end I get the error message: ERROR: dimension mismatch 1 between y and mask I've also tried to run it with the .nii file found at https://secure-web.cisco.com/1sTopz8rXlJoh4VSQL7P0DYm1ff7H5Crs0Qg3iAG1M6HD6Vuyjn8ViA2fDeX0A7VIH_9-GSxTfaL35eIjCKAnbUd90wxlxBlgtdz3DVFpnalWP2oV1jHapx5B4tlAXHpUA9N18syK8T_8U3eUIX2YC8P7r4l3verT5XzzxpTkHDB7Nmuh-RYY63YVpXWmTl_xCbs105PDuuWwbrTX5RfdknvxXBksPePKuZnNwqmGz-GLy8z8xYTDCYxHegxv5wG_XMQjD1PxSwhpaqG0N-mGvQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FCorticalParcellation_Yeo2011 Any help would be appreciated! Haley
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer