Hello AFNI Nation,
I have an ROI drawn for a dataset, which contains mask values of 2, 4, and 8. If I wanted to make a single .1D file, including all those mask values I'd use the following command...
3dROIstats -mask 'ROI<2..8>' dataset > signal_2_4_8.1D
My question is, how do I make a similar .1D file leaving out mask value 4? I know I can use 3dcalc along with its step agrument to distill the ROI into its constituent values, but it's a bit tedious. I'm hoping there is command like...
3dROIstats -mask 'ROI<2.(skip 4).8>' dataset > signal_2_8.1D
I think I saw somewhere that the sub brick selector [x..y] can count off by integer steps greater than 1. If there is similar functionality with the mask value selector, I'd be set.
-Ariel