I am trying to fit the Allen atlas on a dataset using:
masker = input_data.NiftiMapsMasker( allen.rsn28, resampling_target="data", t_r=2.5, detrend=True, allow_overlap=False, memory='allen', memory_level=1, verbose=0)
But, on some of my subjects I get the following error:
ValueError: Overlap detected in the maps. The overlap may be due to the atlas itself or possibly introduced by resampling
I made sure first to resample my data in the MNI space, but even without this step, I get the same error.
I tried other atlases such as the Power and Dosenbach (networks), but the same issue (even when adjusting the radius of the spheres and the fwhm).
Any suggestions on this issue? Is there a general rule, such as, is it properly (usual/normal/ok to allow overlap)? or, to exclude these subjects from the analysis?