<div dir="ltr">Hi all,<div>I'm having an issue running cluster analyses on some data I have. Following this thread here (<a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2013-July/006853.html">https://mailman.science.ru.nl/pipermail/fieldtrip/2013-July/006853.html</a>), it seems like I should be able to specify 'avgoverchan' in my cfg, and then when I run a cluster analysis, it won't consider spatial information. In fact, looking at ft_statistics_montecarlo, I see a section that states:</div><div><br></div><div>  elseif isfield(cfg, 'avgoverchan') && istrue(cfg.avgoverchan)<br>      % channel dimension has been averaged across, no sense in clustering across space<br>      cfg.connectivity = true(1);</div><div><br></div><div>However, once we reach the "clusterstat" function this appears to be completely disregarded, and it searches for spatial information. I don't even see anything that reads the "connectivity" from the cfg in that function. I then get an error that states 'invalid dimension of spatdimneighbstructmat', as it is trying to look for channel neighbors to form clusters. This is true for both timelockstatistics and freqstatistics (as they both call ft_statistics_montecarlo).</div><div><br></div><div>This is unfortunate, because it would be good to apply these cluster analysis functions to other time-series data (e.g. classification accuracies across time) where there aren't channels, but temporal clustering would still be useful. Can anyone help me with this?</div><div><br></div><div>Thanks,</div><div>Ryan<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="3" face="Helvetica" color="#000000">Ryan Hubbard</font><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium">Beckman Postdoctoral Fellow</span></div><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium">The Beckman Institute for Advanced Science and Technology</span><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium"><span style="color:rgb(0,0,0);font-family:Helvetica;font-size:medium">University of Illinois at Urbana-Champaign</span><br></div></div></div></div></div></div>