Hi Zita,<br><br>I think Lilla's explanation for why your clusters are not showing up in the plot is right. If you're using the sample script from the cluster tutorial on the wiki, you can probably resolve this problem by just plotting smaller time windows; for example, to divide your epoch into 40 time windows instead of 20, make the "timestep" half as big, make the loop run from k=1:40 instead of k=1:20, and edit the adjust the number of subplots accordingly.<br>
<br>Or, to get a more specific idea of the topography and time course of your significant cluster(s), you can look in the variables stat.posclusterslabelmat and stat.negclusterslabelmat, which tell you which (time, channel) samples belong to significant clusters. (I find it easiest to do this by writing those variables into Excel files and using Excel functions to find where the significant clusters are, but it can be done in Matlab as well.) This is a more exact way to see when and where significant clusters appear, without worrying about what time windows to select for plotting.<br>
<br>Best,<br>Steve<br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Message: 4<br>
Date: Fri, 7 Oct 2011 14:26:39 +0100<br>
From: Zita Eva Patai <<a href="mailto:eva.patai@psy.ox.ac.uk">eva.patai@psy.ox.ac.uk</a>><br>
To: Email discussion list for the FieldTrip project<br>
        <<a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>><br>
Subject: Re: [FieldTrip] cluster>nothing to plot<br>
Message-ID:<br>
        <CACPtmWM5yqj7y2MhVGOP6YOh5nAWmJow=<a href="mailto:FCKcvbGUkntNibNtw@mail.gmail.com">FCKcvbGUkntNibNtw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Thank you Stephen & Lilla!<br>
<br>
I think I am just a bit overwhelmed with my data...and I was hoping to get<br>
straightforward results for my epoch...<br>
<br>
<br>
On Fri, Oct 7, 2011 at 2:08 PM, Magyari, Lilla <<a href="mailto:Lilla.Magyari@mpi.nl">Lilla.Magyari@mpi.nl</a>> wrote:<br>
<br>
> hi Zita,<br>
><br>
> I do not know what kind of script you wrote, therefore, it is difficult to<br>
> figure out what the problem is exactly. But your problems reminds me to the<br>
> following:<br>
> if you followed the FT tutorial for plotting the clusters, you must be<br>
> aware that it will plot only those channels in each time-bin that are part<br>
> of the cluster during the entire time-bin. So, if you use a 50 ms bin, and a<br>
> channel is part of the significant cluster only for 10 ms, you won't see<br>
> that channel on the plot. I hope this helps.<br>
><br>
> Best,<br>
> Lilla<br>
><br>
><br>
> Zita Eva Patai wrote:<br>
><br>
>> Sorry, I know the answer now, but I have another , similar problem:<br>
>><br>
>> When i get the clusterplot figure (after i run the cluster analysis), it<br>
>> has the timebins every 4ms (bc i have a 250Hz sampling rate) with the<br>
>> significant clusters plotted. For a simplified plotting, i was trying to use<br>
>> the bit of script where i can specify the timesteps i want the clusters to<br>
>> be shown in (ex: every 50ms)<br>
>> But, depending on what timestep i use, sometimes it does not display the<br>
>> clusters that are significant, almost like if the period is not long enough,<br>
>> it will not show the clusters...<br>
>><br>
>> Any ideas ?<br>
>><br>
>> Thank you!<br>
>><br>
>> On Fri, Oct 7, 2011 at 10:18 AM, Zita Eva Patai <<a href="mailto:eva.patai@psy.ox.ac.uk">eva.patai@psy.ox.ac.uk</a><mailto:<br>
>> <a href="mailto:eva.patai@psy.ox.ac.uk">eva.patai@psy.ox.ac.uk</a>**>> wrote:<br>
>><br>
>>    Dear All<br>
>><br>
>>    I am running the Cluster-based permutation tests on event related<br>
>>    fields, and for the same dataset, with all settings identical, when<br>
>>    i run:<br>
>>    0-200ms: i get one significant cluster<br>
>>    but:<br>
>>    0-500ms: no significant clusters<br>
>><br>
>>    why does my significant cluster disappear depending on the time<br>
>>    window i use?<br>
>><br>
>>    thank you!<br>
>>    z<br>
>><br>
>><br>
>>    --<br>
>>    Zita Patai<br>
>>    DPhil Candidate, Experimental Psychology<br>
>>    University of Oxford<br>
>>    <a href="http://bcl.psy.ox.ac.uk/people/zita-**eva-patai/" target="_blank">bcl.psy.ox.ac.uk/people/zita-**eva-patai/</a><<a href="http://bcl.psy.ox.ac.uk/people/zita-eva-patai/" target="_blank">http://bcl.psy.ox.ac.uk/people/zita-eva-patai/</a>><br>

>>    <<a href="http://bcl.psy.ox.ac.uk/**people/zita-eva-patai/" target="_blank">http://bcl.psy.ox.ac.uk/**people/zita-eva-patai/</a><<a href="http://bcl.psy.ox.ac.uk/people/zita-eva-patai/" target="_blank">http://bcl.psy.ox.ac.uk/people/zita-eva-patai/</a>><br>

>> ><br>
>>    <a href="mailto:eva.patai@psy.ox.ac.uk">eva.patai@psy.ox.ac.uk</a> <mailto:<a href="mailto:eva.patai@psy.ox.ac.uk">eva.patai@psy.ox.ac.uk</a>**><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>><br>
>> Zita Patai<br>
>> DPhil Candidate, Experimental Psychology<br>
>> University of Oxford<br>
>> <a href="http://bcl.psy.ox.ac.uk/people/zita-**eva-patai/" target="_blank">bcl.psy.ox.ac.uk/people/zita-**eva-patai/</a><<a href="http://bcl.psy.ox.ac.uk/people/zita-eva-patai/" target="_blank">http://bcl.psy.ox.ac.uk/people/zita-eva-patai/</a>><<br>

>> <a href="http://bcl.psy.ox.ac.uk/**people/zita-eva-patai/" target="_blank">http://bcl.psy.ox.ac.uk/**people/zita-eva-patai/</a><<a href="http://bcl.psy.ox.ac.uk/people/zita-eva-patai/" target="_blank">http://bcl.psy.ox.ac.uk/people/zita-eva-patai/</a>><br>

>> ><br>
>> <a href="mailto:eva.patai@psy.ox.ac.uk">eva.patai@psy.ox.ac.uk</a> <mailto:<a href="mailto:eva.patai@psy.ox.ac.uk">eva.patai@psy.ox.ac.uk</a>**><br>
>><br>
>><br>
>><br>
>> ------------------------------**------------------------------**<br>
>> ------------<br>
>><br>
>> ______________________________**_________________<br>
>> fieldtrip mailing list<br>
>> <a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
>> <a href="http://mailman.science.ru.nl/**mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/**mailman/listinfo/fieldtrip</a><<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a>><br>

>><br>
><br>
> --<br>
> PhD student<br>
> Language and Cognition Group<br>
> research assistant<br>
> Neurobiology of Language Group<br>
><br>
> Max Planck Institute for Psycholinguistics<br>
> Nijmegen, P.O. Box 310, 6500AH, the Netherlands<br>
> Phone: 0031 24 3521561<br>
><br>
> ______________________________**_________________<br>
> fieldtrip mailing list<br>
> <a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
> <a href="http://mailman.science.ru.nl/**mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/**mailman/listinfo/fieldtrip</a><<a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a>><br>

><br>
<br>
<br>
<br>
--<br>
<br>
Zita Patai<br>
DPhil Candidate, Experimental Psychology<br>
University of Oxford<br>
<a href="http://bcl.psy.ox.ac.uk/people/zita-eva-patai/" target="_blank">bcl.psy.ox.ac.uk/people/zita-eva-patai/</a><br>
<a href="mailto:eva.patai@psy.ox.ac.uk">eva.patai@psy.ox.ac.uk</a><br>
</blockquote></div>