Hello,
I have a quick question, just to confirm that I did some pre-processing correctly. I want to regress out other covariates in my resting state pre-processing with the DPARSFA toolbox. In part 1 of the instructional slide show, I believe a way to "cheat" the DPARSFA toolbox was proposed. It suggested to take any "other" timecourses and place them in the "rp" text file in the RealignParameter directory which already contains the 6 motion timecourses. It then suggested to run the DPARSFA toolbox simply selecting "Nuisance Covariates Regression". All other boxes should be de-selected, so only the motion regression should be performed. By having all timecourses in the "rp" text file, where usually just the motion timecourses are, the DPARSFA toolbox will regress out all of the timecourses, including the ones that were not just motion. Is this correct?
I did this and just want to check that all regressors that were in the "rp" text file get regressed out, so any thoughts, comments, criticism, would be greatly appreciated!
Thanks so much in advance for the feedback!
Best,
Dar
Submitted by darmeshi on Thu, 02/13/2014 - 20:42 Permalink
Re: Regressing out other covariates in the DPARSFA toolbox ...
Hello,
Just following up on this...does anyone out there have an answer? Can we just add all nuisance covariates to be regressed into the "rp" text file? Any info at all would be very much appreciated!
Thanks,
Dar
Submitted by ZHANG_RESTadmin on Tue, 02/18/2014 - 13:04 Permalink
Re: Regressing out other covariates in the DPARSFA toolbox ...
yes, you can.
just try using these matlab/spm functions:
a = spm_load('your_rp_file.txt');
b = [a c]; % where c is other_covariates loaded in matlab
save('your_new_rp_file.txt', b, '-ascii','-tabs');
Submitted by darmeshi on Tue, 02/18/2014 - 18:34 Permalink
Re: Regressing out other covariates in the DPARSFA toolbox ...
Great! Thanks so much!!
All the best,
Dar