[FieldTrip] Negative clustertail in clustertat

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Wed Apr 13 14:51:31 CEST 2022

Hi Ignacio,

I think that the rationale behind this is the fact that if you ask for a one-sided test (i.e. when cfg.clustertail = 0) the assumption is that you have specified the corresponding cfg.clustercritval appropriately, i.e. according to the value below which the data are to be retained for the clustering.

Best wishes,

> On 13 Apr 2022, at 12:51, Ignacio Taguas Garzón via fieldtrip <fieldtrip at science.ru.nl> wrote:
> Dear community,
> My name is Ignacio Taguas, and I am a master's student at the Laboratory of Cognitive and Computational Neuroscience in Spain. Currently, I am analyzing MEG data to study functional connectivity changes in Mild Cognitive Impairment subjects.
> I was wondering about the clusterstat function (clusterstat.m file), which computes cluster statistics. My question refers to negative clusters, when cfg.clustertail is set to -1. In this case, the negtailcritval is set to the value of cfg.clustercritval, instead to -cfg.clustercritval (as is the case when the clustertail is 0). Could somebody explain this to me? 
> Thank you in advance for your time. Best,
> Ignacio.
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!82doo102Qv4NAb-g2vvSD4zKSdbd2khCC3Bw8IxOZXgYPSjm9vQ7SV-zw9jDRrXhxVinYgNBlWwRylbl5_9Ekqj82BS03m1ufnHR7w$ 

More information about the fieldtrip mailing list