Re: [Freesurfer] mask error in glm_fit

2021-05-27 Thread Douglas N. Greve
Some how the Yeo dimensions got flipped. Usually, this does not matter, but in mri_glmfit it does. You can get around this by running mri_convert lh.Yeo2011_17NetworksConfidence_N1000.mgz --reorder 2 1 3 lh.Yeo2011_17NetworksConfidence_N1000.reordered.mgz and using the reordered in mri_glmfit

Re: [Freesurfer] mask error in glm_fit

2021-05-20 Thread Haley Park
External Email - Use Caution Thanks for your response! It was in the fsaverage folder when I installed Freesurfer. I also have an .nii file. Could I turn it into an .mgz file and maybe it will have the same dimensions? Could it also be because I am looking at volume and fsaverage i

Re: [Freesurfer] mask error in glm_fit

2021-05-10 Thread Douglas N. Greve
It is saying that the mask lhYeo2011_7NetworksConfidence_N1000.mgzdoes not have thee same dimensions as the input. How was it created? It must be a surface overlay on fsaverage On 4/26/2021 6:59 PM, Haley Park wrote: External Email - Use Caution Hello, I am trying to run a correlati

[Freesurfer] mask error in glm_fit

2021-04-26 Thread Haley Park
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}