[FieldTrip] ft_freqstatistics & ft_clusterplot

Roy Cox r.cox at uva.nl
Tue Jun 4 14:31:06 CEST 2013


Dear all,

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.

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).

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.

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?

regardless of how I call ft_freqstatistics, ft_clusterplot crashes like
this:

 Assignment has more non-singleton rhs dimensions than non-singleton
subscripts

Error in ==> ft_clusterplot at 179
    sigposCLM(:,:,iPos) = (posCLM == sigpos(iPos));

here, my posCLM is a 126(chan)x35(freqs)x301(time) array, which indeed does
not fit the left-hand side.

If anyone has any ideas/suggestions I'd be happy to hear them.

Roy

-- 
Roy Cox, M.Sc. | Brain & Cognition Group | Department of Psychology |
University of Amsterdam | Weesperplein 4 | 1018 XA Amsterdam | the
Netherlands | room 3.21 | phone: +31 20 525 6847 | email: r.cox at uva.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20130604/1f3d23c0/attachment-0001.html>


More information about the fieldtrip mailing list