[FieldTrip] Cluster-based permutation test

Alberto Benelli albertobenelli21 at gmail.com
Thu Nov 7 13:35:39 CET 2024


Dear fieldtrip experts,

I am trying to find differences between 3 groups using a cluster-based
analysis with these parameters:

    cfg = [];
    cfg.channel = ‘all’;
    cfg.frequency = [l_fr u_fr];
    cfg.avgoverfreq = ‘yes’;
    cfg.method = ‘ft_statistics’;
    cfg.statistic = ‘ft_statfun_indepsamplesT’;
    cfg.corrECtm = ‘cluster’;
    cfg.clusteralpha = 0.05;
    cfg.clusterstatistic = ‘maxsum’;
    cfg.minnbchan = 2;
    cfg.tail = 0;
    cfg.clustertail = 0;
    cfg.alpha = 0.05;
    cfg.numrandomization = 10000;
    cfg.neighbours = neighb;

However, I cannot see if there are any significant clusters because the
matrix ‘stat.cluster’ does not appear. However, I can see all the
significance of each electrode.

Is it possible that although the individual electrodes are very significant
(e.g. p< .01), I cannot obtain significance considering the clusters?
If not, where could the error be?

If I can see the clusters in the ‘stat.cluster’ matrix, how can I display
only the significant clusters in the topoplot?

Thank you,

Alberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20241107/7ca4142c/attachment.htm>


More information about the fieldtrip mailing list