Hello FreeSurfers,
I have an existing pipeline that computes the residualized time series after removing any linear trends using mri_glmfit:
mri_glmfit --y ${source_dir}/${r}/${filepat}.${surf}.${hemi}.nii.gz \ --glmdir ${source_dir}/${r}/${hemi}.detrend \ --qa --save-yhat --eres-save \ --surf ${SURFTOUSE} ${hemi} This saves the detrended eres.mgh data in *h.detrend/ I would like to additionally include motion correction values as regressors in this step, but I am not completely clear how to do this. My best guess is that this will entail a fixed effects analysis using the values in mcprextreg, but I cannot find any examples of this in the mailing list archives nor on the wiki, so any help would be greatly appreciated!
Thanks, Chris
/********************************************** * Chris McNorgan * Assistant Professor * Department of Psychology * University at Buffalo, * The State University of New York * http://ccnlab.buffalo.edu/ http://ccnlab.buffalo.edu/ * Office: 716.645.0236 * Lab: 716.645.0222 **********************************************/
External Email - Use Caution