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
Hi Chris, if you want the detrended time series, use --eres-save which will save a volume called eres.nii.gz doug
On 12/09/2012 11:07 PM, Chris McNorgan wrote:
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
freesurfer@nmr.mgh.harvard.edu