[FieldTrip] Help with plotting all the sensors belonging to the significant clusters in only one scalp topography

Julian Keil julian.keil at gmail.com
Wed Mar 25 09:15:37 CET 2020


Dear HeYuxin,

you can use something like this to find the channel, frequency and time indices of your clusters:

[chan,freq,time] = ind2sub(size(stats.posclusterslabelmat),...
    find(stats.posclusterslabelmat == 1));
chan = unique(chan);
freq = unique(freq);
time = unique(time);

Hope this helps,

Julian

________________
Prof. Dr. Julian Keil

Biologische Psychologie
Olshausenstraße 62 - R. 306
24118 Kiel

0431 / 880 - 4872
http://www.biopsych.uni-kiel.de/



> Am 25.03.2020 um 08:30 schrieb 赫雨欣 <hyxer1998 at 163.com>:
> 
> Dear fieldtrip users:
> I just started to use fieldtrip and I have a trivial question asking for help. 
> I’m trying to find out the labels of the sensors belonging to the significant clusters. I think maybe I can find some threads in stat.posclusterslabelmat or stat.negclusterslabelmat and in stat.mask but  they are all in three dimensions chan_freq_time, I don’t know how to do it exactly in codes. 
> Hope someone can help me. Thank you very much. 
> From HeYuxin
> 
> 
> 
>  
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200325/293d8a53/attachment.htm>


More information about the fieldtrip mailing list