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
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 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 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
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 CautionHello,
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 endend
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://secure-web.cisco.com/1UZFGqmdxRuc0MnBvkd8bVFBWOYwZRCwO0HZNjVOvoumBUi... 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 listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://secure-web.cisco.com/1CDYUBISpRRc3MAoYRW4NZ_uv0OqjD6djLp3Hy3tZ4y-1YC... 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 http://secure-web.cisco.com/13DS3DT26chnEluklwXmLL-BZZZiLna2-_qSjj5D9MX1grWX... . 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.
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
On 5/20/2021 11:59 AM, Haley Park wrote:
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 mailto:dgreve@mgh.harvard.edu> wrote:
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 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 <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 <mailto: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 <https://secure-web.cisco.com/1CDYUBISpRRc3MAoYRW4NZ_uv0OqjD6djLp3Hy3tZ4y-1YCFDe32g3qq5J6Sz_D3mEjTe2ij8WSUokPVpzLECm6bNbi8AJEwKJhtDimu7sjCbwMejpLLjMmIOG1tMeAUIk1gsyfG2w7izsN0ZTUcJ25XwlbJAPAgVcg9RfdquKZgrx9rpZ1835351YkCX7TqooxcJeYcOQ-_QeSm02aipYvkAJpvsqx-D2ole6hYxuytZXIkO1fa-2NyIVfGpBKE3DzLl0zFwYwUPmi9kgRJGBg/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer>_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu <mailto: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 <https://secure-web.cisco.com/1CDYUBISpRRc3MAoYRW4NZ_uv0OqjD6djLp3Hy3tZ4y-1YCFDe32g3qq5J6Sz_D3mEjTe2ij8WSUokPVpzLECm6bNbi8AJEwKJhtDimu7sjCbwMejpLLjMmIOG1tMeAUIk1gsyfG2w7izsN0ZTUcJ25XwlbJAPAgVcg9RfdquKZgrx9rpZ1835351YkCX7TqooxcJeYcOQ-_QeSm02aipYvkAJpvsqx-D2ole6hYxuytZXIkO1fa-2NyIVfGpBKE3DzLl0zFwYwUPmi9kgRJGBg/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer> 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 <http://secure-web.cisco.com/13DS3DT26chnEluklwXmLL-BZZZiLna2-_qSjj5D9MX1grWXwK7AK-UkUTAbCFkTtr5pt0vx9RGRQXvt_GRiOy3vIUurZQbJtuNChJXnXxRBRt4Y1AsxTW9IGwcuzH3YmcdIwi1Gh01Wfi8zZydFkbyDce4sDAYgUifN11SW9bhXe8TmTL56WHLd2saUycw5h83wf9uhOeFBAF23RwNOAwGKCzv0nvd_uJTLULZJNe8WpxG-QNMhJbqh4_g6qjZVPvBKVxGSTHOw6DtA_pZvjQw/http%3A%2F%2Fwww.massgeneralbrigham.org%2Fcomplianceline> . 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.
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu