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/1sTopz8rXlJoh4VSQL7P0DYm1ff7H5Crs0Qg3iAG1M6HD6V...
Any help would be appreciated!
Haley