I would like to apply the "clusterize" button that is available in the AFNI gui, as a command. I would then like AFNI to jump to the biggest cluster, is that possible?
I would like to do something like
afni -com 'OPEN_WINDOW A.axialimage' \
-com 'SWITCH_UNDERLAY data+tlrc.HEAD' \
-com 'SWITCH_OVERLAY data+tlrc.HEAD' \
-com 'SET_THRESHNEW A 2.326' \
-com 'CLUSTERIZE A 20' \
-com 'JUMP_BIGGEST_CLUSTER A' \
-com 'SAVE_PNG A.axialimage activity.png' \
-com 'QUIT'
20 is here the minimum size of the cluster