[FieldTrip] (no subject)

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Thu Aug 13 14:13:27 CEST 2015

Hi Peter,
I cannot reproduce your problem. Are you using the latest version of fieldtrip. I very recently fixed a bug in ft_clusterplot, which could well explain your problem. If you are actually using the most recent FT-version, then my change might have introduced a bug :o).


On Aug 12, 2015, at 10:35 PM, Peter Lyons <plyons at udel.edu> wrote:

> Hello Everyone,
> I'm working on a cluster-based permutation analysis on time-frequency EEG data. I was able to successfully run the ft_freqstatistics function after computing the grand average (ft_freqgrandaverage) for my two independent groups. 
> I am, however, struggling with viewing the topography of my cluster output using the ft_clusterplot function. I suspect the case may be that I am missing a time dimension in my data set based on this error message that I received:
> "Attempted to access stat.time(15); index out of bounds because numel(stat.time)=0.
> Error in ft_clusterplot (line 248)
>       time_perclus = [stat.time(ind_min) stat.time(ind_max)];"
> Is there a viable way to use the ft_clusterplot if the dimensions contained in my data set is "chan_freq"?
> Or, is there an alternative plotting function that would work just as well or better?
> I would greatly appreciate any assistance with this.
> Thank you!
> Peter
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip

More information about the fieldtrip mailing list