I am doing some work on EEG data, and in a paper I am referencing they define a minimum number of channels/sensors needed to be counted as a cluster (They use Matlab). Is there a way to define this when using the mne.stats.permutation_cluster_test function?
To my knowledge, there is currently no built-in way to achieve what you’re asking for. In theory, it should be possible to perform a post-hoc selection of suitable clusters from the list of clusters returned by the cluster permutation functions (e.g., for each row of that array, check if any cell with a True value has at least one immediate True neighbor in the same row), but I’m afraid this isn’t really trivial. Maybe @larsoner or @sappelhoff have some code snippets somewhere to do this job…?