<div dir="ltr"><div><div>Dear all,<br><br></div>I recently joined your trip and I want to make use of fieldtrip's cluster correction capabilities. But I can't seem to get it to work. Perhaps some of you can clarify some things I can't figure out easily from the tutorials or functions themselves.<br>
<br>A potentially important thing to know is that I performed all single-subject tf analyes using custom scripts, and now I want to have fieldtrip perform the overall statistics (8 subjects, 2 within-subj conditions).<br>
<br></div><div>ft_freqstatistics works. However, I wonder: does it matter for the statistics what latency and frequency range you choose and/or whether you average across time/freq bins? I tried a number of variants, but the command window output "found [] positive/negative clusters in observed data" is always identical. Which confuses me.<br>
<br></div><div>is it possible to call ft_freqstatistics and neither average over time nor frequency bins? or am I supposed to average across at least one to end up with less-dimensional data for ft_clusterplot?<br><br></div>
<div>regardless of how I call ft_freqstatistics, ft_clusterplot crashes like this:<br><br> Assignment has more non-singleton rhs dimensions than non-singleton<br>subscripts<br><br>Error in ==> ft_clusterplot at 179<br>
    sigposCLM(:,:,iPos) = (posCLM == sigpos(iPos));<br></div><br><div><div><div>here, my posCLM is a 126(chan)x35(freqs)x301(time) array, which indeed does not fit the left-hand side.<br><br></div><div>If anyone has any ideas/suggestions I'd be happy to hear them.<br>
<br></div><div>Roy<br clear="all"></div><div><br>-- <br><div style="text-align:left;font-family:courier new,monospace;color:rgb(102,102,102);background-color:rgb(255,255,255)">Roy Cox, M.Sc. | Brain & Cognition Group | Department of Psychology | University of Amsterdam <span style="color:rgb(102,102,102)">| </span><font style="font-family:courier new,monospace;color:rgb(102,102,102)" face="Lucida Grande"><span style="font-size:10pt"><span lang="nl"><span>Weesperplein 4</span> | 1018 XA Amsterdam</span></span></font><span style="color:rgb(102,102,102)"> </span>| the Netherlands | room 3.21 | phone: +31 20 525 6847 | email: <a href="mailto:r.cox@uva.nl" target="_blank">r.cox@uva.nl</a><br>
</div></div></div></div></div>