[FieldTrip] Finding Corresponding Time Points in Cluster-based Permutation

Stephen Politzer-Ahles politzerahless at gmail.com
Sat Aug 25 14:03:25 CEST 2018

```Dear Kamia

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
http://www.fieldtriptoolbox.org/tutorial/cluster_permutation_timelock.

Best,
Steve

---
Stephen Politzer-Ahles
The Hong Kong Polytechnic University
Department of Chinese and Bilingual Studies
http://www.mypolyuweb.hk/~sjpolit/
<http://www.nyu.edu/projects/politzer-ahles/>

> Message: 1
> Date: Fri, 24 Aug 2018 19:08:35 +0200
> From: Kamia Kavi <kamiakavi at gmail.com>
> To: fieldtrip at science.ru.nl
> Subject: [FieldTrip] Finding Corresponding Time Points in
>         Cluster-based Permutation
> Message-ID:
>         <
> CAAT2gKZJR0Y-UmgcTFxgvbegjGO6_95a4aPBuT9Sk8_uV10TAw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello!
>
>
>
> When I perform cluster-based permutation tests on event related
> fields/potentials, in stat.posclusters.prob (also stat.negclusters.prob)
> there is an descending sorted list of clusters with their probabilities.
> How can I find the corresponding time points for each of theses rows? (For
> example, how can I find the corresponding time points for
> stat.posclusters(1).prob).
>
>
>
> Thank you very much in advance for any help!
>
>
>
> Kamia
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20180824/4ffbdd16/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
>
> ------------------------------
>
> End of fieldtrip Digest, Vol 93, Issue 22
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20180825/64d6727d/attachment-0002.html>
```