Thanks, it worked great. Also, I used 3dROIstats to calculate the means for each cluster. Is there a way I can plot the mean value from 3dROIstats of each individual cluster in each sub-brick over all of my time points? That is, sub-brick number would be on the x-axis and the mean for a single cluster would be plotted on the y-axis corresponding to each sub-brick.
Thus, it would show how the mean value of each cluster changed over time. Please let me know if there is a way to do this.
Thanks,
Matt