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 is(?) a surface thing?

Haley

On Mon, May 10, 2021 at 11:15 AM Douglas N. Greve <dgreve@mgh.harvard.edu> wrote:
It is saying that the mask lhYeo2011_7NetworksConfidence_N1000.mgz does 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 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 MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://surfer.nmr.mgh.harvard.edu/fswiki/CorticalParcellation_Yeo2011


Any help would be appreciated!


Haley


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be http://www.massgeneralbrigham.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.
Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.