Hello, I have a question regarding the yhat.mgh file generated from some resting-state functional data after running: mri_glmfit --y fmcpr.siemens.sm0.self.?h.nii.gz --glmdir $dest_dirname --qa --save-yhat
I had assumed that the yhat file was the detrended data, but after plotting it in matlab and seeing perfectly smooth lines, I came to believe that the yhat.mgh file represents the trendline for each timeseries in the source .nii.gz? In this case, if I use mri_segstats to pull out the timeseries data from an ROI, is it then valid to calculate roi_timeseries/roi_trendline in order to arrive at a detrended timeseries for that ROI? Thanks, Chris _______________________________________________ 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 Partners Compliance HelpLine at http://www.partners.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.