Hello AFNI experts,
I have two z-scored co-activation maps. I would like to compare the spatial overlap between these two maps by computing the Dice Coefficient.
The first step in preparation of doing this, is that I need to threshold and binarize the two co-activation maps.
The co-activation maps consist of both positive Z-scores (activations) and negative Z-scores (deactivations).
I would like Z scores between 1.5 and 4 to be marked as "1s" and Z scores between -1.5 and -4 to be marked as "1s". The rest will be "0s" when binarizing.
Is there a way to do this with 3dcalc.
I was also curious if there is a way to compute the dice coefficient with AFNI?
I found a way to do it via an R and FSL interface, but even better if there is way to do all of this in AFNI.
Thanks for your time and expertise!
Emily