<div dir="ltr"><div dir="ltr">Dear Sebastian,<div><br></div><div>1) The permutation test identified a significant difference between your conditions. The extent of the cluster (i.e. the most pronounced difference between your conditions) is found in the time window that is plotted in the 12 subplots. See <a href="http://www.fieldtriptoolbox.org/faq/how_not_to_interpret_results_from_a_cluster-based_permutation_test">http://www.fieldtriptoolbox.org/faq/how_not_to_interpret_results_from_a_cluster-based_permutation_test</a> for more information on this.</div><div><br></div><div>2) If you do not wish to use 12 subplots in a figure you can simply show the plot averaged over time points. Note that the clusterplot plots t-values, so you might want to plot the difference between your conditions in microvolt or femtotesla for example. That does leave you with the decision on how to include the spatial extent (i.e. electrodes) of your cluster. You could show all electrodes that were part of the cluster at any one time point, or you could plot the electrode size as a function of how often (i.e. at how many time points) the electrode was part of the cluster.</div><div><br></div><div>Hope this helps.</div><div><br></div><div>Best,</div><div>Tara van Viegen</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 15, 2018 at 4:35 PM Sebastian Sauppe <<a href="mailto:sauppe.s@gmail.com">sauppe.s@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Dear Fieldtrip list members,<div><br></div><div>I have a question on how to best produce a cluster plot. I have the results from a cluster-based permutation test of time-frequency data (ft_freqstatistics). When I run ft_clusterplot to visualize where my two conditions differ, a larger number of subplots is produced (in my case 12). These subplots have different electrodes marked as significant and I guess that they represent the development of the significant cluster(s).</div><div><br></div><div>I’ve got two questions and hope that someone of you can help with this.</div><div><br></div><div>(1) How is the number of subplots determined? I get, for example, 12 subplots from clusterplot but there are 23 time bins in my data.</div><div>(2) When preparing a plot to include in a paper, which one of the subplots should I best take? Or is there a way to combine them to show the fullest extent of the cluster? (I think it is not practical to include 12 or more subplots in a figure for a paper.)</div><div><br></div><div>Here is the plotting code I use:</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;color:rgb(37,153,45)">%% plot the results of permutation test</div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;color:rgb(37,153,45)">% cluster plot</div><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;color:rgb(37,153,45);min-height:12px"> <br class="m_4195864982884609872webkit-block-placeholder"></p><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;color:rgb(37,153,45)">% prepare cluster plot</div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg = [];</div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.alpha  = 0.025;</div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.zlim   = <span style="color:#b245f3">'maxmin'</span>;</div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;color:rgb(178,69,243)"><span style="color:#000000">cfg.layout = </span>'GSN-HydroCel-129.sfp'<span style="color:#000000">;</span></div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">layout = ft_prepare_layout(cfg);</div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.layout = layout;</div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.colorbar = <span style="color:#b245f3">'yes'</span>;</div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">cfg.marker = <span style="color:#b245f3">'on'</span>;</div><p style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;min-height:12px"> <br class="m_4195864982884609872webkit-block-placeholder"></p><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier;color:rgb(37,153,45)">% make clusterplot</div><div style="margin:0px;font-stretch:normal;font-size:10px;line-height:normal;font-family:Courier">ft_clusterplot(cfg, stat);</div></div><div><br></div><div><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;line-break:after-white-space"><div style="color:rgb(0,0,0);font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Best,</div><div style="color:rgb(0,0,0);font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Sebastian</div><div style="color:rgb(0,0,0);font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br class="m_4195864982884609872Apple-interchange-newline">-----------</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Dr. Sebastian Sauppe</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Department of Comparative Linguistics, University of Zurich</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Homepage: <a href="https://sites.google.com/site/sauppes/" target="_blank">https://sites.google.com/site/sauppes/</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Twitter: <a href="https://twitter.com/SebastianSauppe" target="_blank">@SebastianSauppe</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Google Scholar Citations: <a href="https://scholar.google.de/citations?user=wEtciKQAAAAJ" target="_blank">https://scholar.google.de/citations?user=wEtciKQAAAAJ</a> </div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">ResearchGate: <a href="http://www.researchgate.net/profile/Sebastian_Sauppe" target="_blank">http://www.researchgate.net/profile/Sebastian_Sauppe</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">ORCID ID: <a href="http://orcid.org/0000-0001-8670-8197" target="_blank">http://orcid.org/0000-0001-8670-8197</a></div></div>
</div>

<br></div></div>_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>