Dear all,
I want to construct a new timecourse for each task condition in an event-related fMRI study in each voxel of the nii images. I am suggested to do it by multiple regression but I'm not sure how exactly it can be done.
For e.g., if the timecourse of a voxel X is like this: A A A B B A B B A B (A and B are the experimental and control conditions)
Can I obtain two new timecourses for voxel X as follow: A A A 0 0 A 0 0 A 0 and 0 0 0 B B 0 B B 0 B ?
If possible, I hope to keep these timecourses in the format of a nii image, instead of a series of numerical timecourses
It would be great if you can give me some advices. Many thanks!
Best wishes,
Meikei
|