mne.stats.permutation_cluster_test on time-Frequency connectivity matrix from matlab

  • MNE version: 1.6.1
  • operating system: macOS 12

I’m new to MNE. From Matlab I have 40 subjects’ data of 2 conditions. Each mat file contains a 419*400*33 matrix.
I couldn’t find any example of how to run cluster permutation on time-frequency data.
Most importantly, I want to know what kind of data array should I input to mne from my mat file in order to run it on mne permutation cluster.

please see this documentation page: Creating MNE-Python data structures from scratch — MNE 1.6.1 documentation

you can find some information by studying the docstring of the cluster permutation testing function here: mne.stats.permutation_cluster_test — MNE 1.6.1 documentation