<div dir="ltr">Dear Mikolaj and Felix,<div><br></div><div>I haven't used the function, so I don't know. I believe the ERP plots are generated on the fly and the results are not saved. If you want to access the output, you have to identify which function generates the plots.</div>

<div><br></div><div>Makoto</div><div class="gmail_extra"><br><div class="gmail_quote">2013/6/23 Mikołaj Magnuski <span dir="ltr"><<a href="mailto:imponderabilion@gmail.com" target="_blank">imponderabilion@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Felix,<div><br></div><div>I had a similar problem previously and could not find the cluster<br>statistics data anywhere in EEGlab structures (perhaps I was<br>

not looking carefully enough - Makoto, is FieldTrip output saved<br>

anywhere in the workspace when doing cluster statistics from<br>EEGlab?).<br><br>When doing cluster statistics EEGlab uses another toolbox -<br>FieldTrip. If you are unable to dig up the output of this procedure<br>anywhere in EEGlab I suggest you should perform it in FieldTrip<br>



directly. It's a little bit harder than EEGlab because you don't have<br>a GUI in FieldTrip, but all the functions are described very well and<br>some really helpful tutorials are present on the FieldTrip web page<br>



(the page is here: <a href="http://fieldtrip.fcdonders.nl/" target="_blank">http://fieldtrip.fcdonders.nl/</a>).<br>There is a function called eeglab2fieldtrip that can transform your<br>EEG structure from EEGlab to FieldTrip style. All the following<br>



steps can be done according to:<br><a href="http://fieldtrip.fcdonders.nl/tutorial/cluster_permutation_freq" target="_blank">http://fieldtrip.fcdonders.nl/tutorial/cluster_permutation_freq</a><br><br>I have some functions that could help you along the way<br>



(or even automatise the whole procedure), you can con-<br>tact me if you decide to do cluster statistics directly in <br>FieldTrip. <br>Nevertheless, the FieldTrip output should be present somewhere<br>in the workspace or at least be possible to catch in a script (if not<br>



it is still possible to modify one of the EEGlab functions to return or <br>eval in your base workspace the information about cluster statistics).<br><br>Mikolaj</div></div><div class="gmail_extra"><br clear="all"><div>Pozdrawiam,<br>


Mikołaj Magnuski</div>
<br><br><div class="gmail_quote">2013/6/19 Felix Ball <span dir="ltr"><<a href="mailto:Felix.Ball@hu-berlin.de" target="_blank">Felix.Ball@hu-berlin.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">
Dear list,<br>
<br>
Thank you in advance for your help. I currently try to use the STUDY function and especially the non-parametric test (Maris and Oostenveld cluster statistic). I have an experiment with two conditions and n subjects. What I want to know is at which time points and at which electrodes the two conditions differ from each other. The difference between conditions is investigated on the grand average level.<br>



I read about a method introduced by Maris and Oostenveld and it seems to be perfect for my needs and it is already implemented in EEGLab. What I get with EEGLab (see matlab code) is a plot (see figure C1vsC2) with different time intervals marked in grey for each electrode. These grey shaded areas are, as far as I understood, significant differences between conditions. Furthermore, they are in a time range where I expected to find a significant difference between conditions. Now I have 2 questions:<br>



<br>
1) I want to access the statistics that are the basis of this plot. Does someone know where I can find them or do I have bugs in my code, preventing me from accessing the stats variables? I was not able to find any variable in my workspace resembling the results shown in figure C1vsC2.<br>



<br>
2) The result I expected (after reading the Maris and Oostenveld paper), slightly differs from the result I receive. I expected only one cluster of neighbor electrodes and one continuous time interval to be shaded in grey in the plot. This cluster- time interval combination would be the maximum effect between conditions. However, looking at figure C1vsC2, I see that neighbor electrodes have a grey shaded areas, but these areas are not necessarily continuous and are not equal for all electrodes. If I just look at one electrode, e.g. FC3 (see appendix), I see that the time range is sometimes interrupted. How do I know when conditions start and stop to be significantly different, if there is not only one time interval of significant difference? I need to know the time range because I want to pick the mean amplitude (in the time range) for a regression analysis.<br>



<br>
Thank you for your help and kind regards. felix<br>
<br>
<br></div></div>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Makoto Miyakoshi<br>Swartz Center for Computational Neuroscience<br>Institute for Neural Computation, University of California San Diego<br></div>


</div></div>