# Spatiotemporal Cluster Analysis of Time-Frequency	Data

**URL:** <https://mne.discourse.group/t/spatiotemporal-cluster-analysis-of-time-frequency-data/1841>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [May 9, 2019, 6:40pm UTC](https://mne.discourse.group/t/spatiotemporal-cluster-analysis-of-time-frequency-data/1841 "2019-05-09T18:40:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [May 9, 2019, 6:40pm UTC](https://mne.discourse.group/t/spatiotemporal-cluster-analysis-of-time-frequency-data/1841/1 "2019-05-09T18:40:18Z")

</div>

External Email - Use Caution

Hi all,

I have been used \*spatio\_temporal\_cluster\_1samp\_test\* on my  
time-frequency data (power (EpochsTFR) with a shape:[epochs X chan X freqs  
X time] ). I have read the cited paper (MarisOostenveld07) for the  
permutation tests. However, it is still not clear to me what these  
functions are exactly doing. I have confused about the cluster analysis  
after seeing my plots. I have attached my code here. I used a public  
dataset (eegbci) as an example. My code could seem long, but most parts are  
related to plotting. There are two main functions and I made more major  
parts bold and with bigger font sizes.  
&nbsp;&nbsp;&nbsp;More specifically, I am wondering if transforming participants' power  
data to \*EpochsTFR\*" and "\*AverageTFR\*" is the correct way of analyzing  
multiple participants? (e.g, after getting the power/ itc data for each  
participant saving it in a multidimensional array and then transform  
it to EpochsTFR  
or AverageTFR).  
&nbsp;&nbsp;&nbsp;&nbsp;Additionally, what do cluster\_p\_values tell us? Don't they show the  
significance of one point in a power/itc data? So if I look at one point in  
power/itc plot, its corresponding point in cluster\_p\_values plot should  
tell me whether or not that point is significant?

I would be very thankful if someone can help me with these questions.

Thank you,  
-Mary

"""
