I’m sure there’s a simple solution but all of the ones I’m coming up with seem to be much more complicated than need be:
I have an atlas that is warped to subject space (mice). I’d like to drop several of the ROIs and save the resultant atlas subset. Code options for selecting an ROI and creating a mask/atlas are easily available. Code for subsetting (dropping) regions seems much more cumbersome.
Anyone have any quick code for doing so? I’ll take any language.