<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div dir="ltr"><div>Hi, Eelke,</div><div><br></div><div>Thanks for your answer: apparently the problem arose from the fact that I was feeding the cluster based permutation test with regression values for which I had to create a 'fake' ft structure. In order to do that replaced the powerspectrum variable of a TFR output with the R values, but there was a mismatch between the time dimensions of the two. Therefore, the <b>stat</b> had the 'time' field with a different dimension from the 'powerspectrum' field and this created the<span style="color:rgb(0,0,0)"> unexpected dimord "chan_freq_unknown" problem.</span><b><span style="color:rgb(204,0,0)"><br></span></b></div><div><b><span style="color:rgb(204,0,0)"><br></span></b></div><div><span style="color:rgb(204,0,0)"><font color="#000000">Cheers,</font></span></div><div><span style="color:rgb(204,0,0)"><font color="#000000">Bianca</font><br></span></div><div><b><span style="color:rgb(204,0,0)"></span></b></div><div><b><span style="color:rgb(204,0,0)"><br></span></b></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 26 apr 2019 alle ore 12:59 Eelke Spaak <<a href="mailto:e.spaak@donders.ru.nl">e.spaak@donders.ru.nl</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Bianca,<br>
<br>
Could you give a bit more details? I.e. how are calling the plotting<br>
functions, what is the data like you're providing as an argument, and<br>
where does it come from?<br>
<br>
Cheers,<br>
Eelke<br>
<br>
On Fri, 26 Apr 2019 at 10:01, Bianca Trovò <<a href="mailto:bianca.trovo@alumni.unitn.it" target="_blank">bianca.trovo@alumni.unitn.it</a>> wrote:<br>
><br>
> Hello!<br>
> I get this error it when I try to visualize significant clusters with either ft_singleplotTFR or ft_clusterplot. Since I define both channels and frequencies in cfg.channel and cfg.frequency, I do not understand where this error could come from:<br>
><br>
> Error using fixdimord (line 156)<br>
> unexpected dimord "chan_freq_unknown"<br>
><br>
> Error in ft_datatype_freq (line 92)<br>
> freq = fixdimord(freq);<br>
><br>
> Error in ft_checkdata (line 268)<br>
> data = ft_datatype_freq(data);<br>
><br>
> Error in ft_singleplotTFR (line 117)<br>
> data = ft_checkdata(data, 'datatype', 'freq');<br>
><br>
> Thanks,<br>
><br>
> Best,<br>
> --<br>
> Bianca Trovò<br>
><br>
> PhD student, Sorbonne Université<br>
> Cognitive Neuroimaging unit, INSERM U992<br>
> Neurospin center, CEA/SAC/DSV/I2BM<br>
> Bât 145,Point Courier 156, 91191 Gif-sur-Yvette Cedex, FRANCE<br>
> Phone (office): +33169089319<br>
> Email (office): <a href="mailto:bianca.trovo@cea.fr" target="_blank">bianca.trovo@cea.fr</a><br>
> Unicog Lab - Computational Brain Team<br>
><br>
> _______________________________________________<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>
<br>
_______________________________________________<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><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#000000"><font size="2"><font face="verdana, sans-serif"><b>Bianca Trovò</b></font></font></font></div><div dir="ltr"><font color="#000000"><font size="2"><font face="verdana, sans-serif"><br><div style="text-align:left">PhD student, Sorbonne Université</div></font></font><span style="font-family:verdana,sans-serif;font-size:small"><div style="text-align:left"><font style="font-family:arial,sans-serif;font-size:12.8px" color="#000000"><span style="font-family:verdana,sans-serif;font-size:small">Cognitive Neuroimaging unit, </span></font><span style="font-size:12.8px">INSERM U992</span></div></span></font><font color="#000000"><div style="text-align:left"><font color="#000000"><span style="font-family:verdana,sans-serif;font-size:small">Neurospin center, </span></font><span style="font-family:verdana,sans-serif">CEA/SAC/DSV/I2BM</span></div></font></div><div dir="ltr" style="text-align:left"><font color="#000000"><a href="https://www.google.fr/maps/dir/''/neurospin+cea/data=!4m5!4m4!1m0!1m2!1m1!1s0x47e67f14e80ea87d:0x9c50e7a885b66e5d?sa=X&ved=0ahUKEwibj43H7fnWAhWCB8AKHdGHBbYQ9RcImwEwCw" style="color:rgb(17,85,204)" target="_blank">Bât 145,Point Courier 156, 91191 Gif-sur-Yvette Cedex, FRANCE</a></font></div><div dir="ltr" style="text-align:left"><font><span style="color:rgb(0,0,0);font-family:verdana,sans-serif">Phone (office): </span><span style="color:rgb(0,0,0);font-family:verdana,sans-serif">+33169089319</span></font></div><div dir="ltr"><div style="text-align:left"><span style="font-family:verdana,sans-serif;color:rgb(0,0,0)">Email (office): </span><u style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><a href="mailto:bianca.trovo@cea.fr" target="_blank">bianca.trovo@cea.fr</a></u></div><b style="color:rgb(64,64,64);font-family:"Segoe UI",sans-serif;font-size:12.8px"><div style="text-align:left"><b style="font-size:12.8px"><font style="color:rgb(17,85,204)" size="2" face="verdana,sans-serif"><a href="http://www.unicog.org/site_2016/lab/the-computational-brain/" style="color:rgb(17,85,204)" target="_blank">Unicog Lab - Computational Brain Team</a> </font></b></div></b></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>