<div dir="ltr"><div>Dear Kamia</div><div><br></div><div>stat.posclusterslabelmat (or stat.negclusterslabelmat) is a channels x samples matrix saying, for each data point (each <channel, sample> pair) which cluster it is part of, if any. (For time-frequency data, it is a channels x samples x frequencies matrix.) So if you want to find the spatiotemporal extent of positive cluster #1, you can search stat.posclusterslabelmat for which points == 1. I believe there are some examples in <a href="http://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock">http://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock</a>.</div><div><br></div><div>Best,</div><div>Steve<br></div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><span><div>---<br></div>Stephen Politzer-Ahles<br>The Hong Kong Polytechnic University<br>Department of Chinese and Bilingual Studies<br><a href="http://www.mypolyuweb.hk/~sjpolit/" target="_blank">http://www.mypolyuweb.hk/~sjpolit/</a></span><a href="http://www.nyu.edu/projects/politzer-ahles/" target="_blank"></a></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Message: 1<br>
Date: Fri, 24 Aug 2018 19:08:35 +0200<br>
From: Kamia Kavi <<a href="mailto:kamiakavi@gmail.com" target="_blank">kamiakavi@gmail.com</a>><br>
To: <a href="mailto:fieldtrip@science.ru.nl" target="_blank">fieldtrip@science.ru.nl</a><br>
Subject: [FieldTrip] Finding Corresponding Time Points in<br>
        Cluster-based Permutation<br>
Message-ID:<br>
        <<a href="mailto:CAAT2gKZJR0Y-UmgcTFxgvbegjGO6_95a4aPBuT9Sk8_uV10TAw@mail.gmail.com" target="_blank">CAAT2gKZJR0Y-UmgcTFxgvbegjGO6_95a4aPBuT9Sk8_uV10TAw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello!<br>
<br>
<br>
<br>
When I perform cluster-based permutation tests on event related<br>
fields/potentials, in stat.posclusters.prob (also stat.negclusters.prob)<br>
there is an descending sorted list of clusters with their probabilities.<br>
How can I find the corresponding time points for each of theses rows? (For<br>
example, how can I find the corresponding time points for<br>
stat.posclusters(1).prob).<br>
<br>
<br>
<br>
Thank you very much in advance for any help!<br>
<br>
<br>
<br>
Kamia<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20180824/4ffbdd16/attachment-0001.html" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20180824/4ffbdd16/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
<br>
<br>
------------------------------<br>
<br>
End of fieldtrip Digest, Vol 93, Issue 22<br>
*****************************************<br>
</blockquote></div></div></div>