James, what do you mean by restrict the analysis within lobes? An ROI analysis? Adding --label will not give you an ROI analysis.

On 1/20/2023 9:32 AM, Huang, Yujing wrote:

Hi James,

Did mri_annotation2label commands create lh.lobes.annot and rh.lobes.annot in fsaverage/labels directory?

They are annot files. You can use mri_annotation2label to break them into label files.

Best,

Yujing

*From:* freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> *On Behalf Of *James Brown
*Sent:* Thursday, January 19, 2023 7:19 PM
*To:* freesurfer@nmr.mgh.harvard.edu
*Subject:* [Freesurfer] mri_glmfit

*        External Email - Use Caution *

Dear FS experts,

I am working on a surface based analysis using FS 7.1.1 and I would like to run mri_glmfit between two groups using the flag "--label" to restrict analysis within lobes.

I ran these commands on fsaverage

mri_annotation2label --subject fsaverage --hemi lh --lobesStrict lobes
mri_annotation2label --subject fsaverage --hemi rh --lobesStrict lobes

This created annotation files within the "labels"  folder of fsaverage, then I ran mri_glmfit using the flag --label lh.lobes from fsaverage

I got this error message

mri_glmfit: could not scan # of lines from label file

I am ot sure what I am doing wrong. Thanks for guidance


James


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
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 https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
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. 

Reply via email to