[Eeglablist] Cluster-based permutation tests
Mikołaj Magnuski
mmagnuski at swps.edu.pl
Mon Jan 18 16:17:48 PST 2016
I do not know how eeglab interfaces with fieldtrip to perform
cluster-correction so my help is going to be limited:
In fieldtrip to perform cluster-correction you need to know which channels
are considered direct neighbours - that is how activity can be clustered in
channel space. This information is specified in cfg.neighbours.
ft_prepare_neighbours and ft_neighbourplot can be helpful in defining this.
You could try performing cluster-correction directly in fieldtrip - it's
not difficult.
BTW - did you paste the full error stack? It would be easier to detect the
problem if we knew where exactly it happens on the eeglab side. You can try
turning on the breakpoints -> stop on errors option and once you catch the
error type: "dbstack" to see the whole "nesting" of function calls that
lead to the error.
18 sty 2016 19:19 "Shingo Tokimoto" <tokimoto at mejiro.ac.jp> napisał(a):
> Dear EEGLA users,
>
> I am trying to apply cluster-based permutation tests to my EEG data. I
> have found the relevant discussion on EEGLAB list, and I know the settings
> in "statistical parameters" in the STUDY function. With the setting as
> specified, cluster-based permutation tests work well for ERP but do not
> work for ERSP. The error message appears as below.
>
> --------------
> EEGLAB error in function ft_checkconfig() at line 153:
>
> Error: ft_checkconfig (line 153)
> The field cfg.neighbours is required
>
> This is a problem with FIELDTRIP. The Fieldtrip version you downloaded is
> corrupted. Please manually replace Fieldtrip with an earlier version and/or
> email the Fieldtrip developers so they can fix the issue.
> ------------
>
> I posted the question to Fieldtrip mailing list, but they say that the
> function for ERSP should work since it works well for ERP.
>
> I am running EEGLAB (eeglab13_5_4b) on Matlab 2013b. I tried
> Fieldtrip-lite ver. 151020 first, and replaced it with fieldtrip-20160104.
> However, the same message appears. It is my pleasure if anyone tell me the
> proper "earlier version" of Fieldtrip. I appreciate any suggestions. Thank
> you in advance.
>
> ************************************************
> Shingo Tokimoto, Ph.D.
> in Linguistics and Psychology
> Department of Foreign Languages
> Mejiro University
> 4-31-1, Naka-Ochiai, Shinjuku, Tokyo,
> 161-8539, Japan
> tokimoto at mejiro.ac.jp
> ************************************************
>
>
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu
>
--
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160119/06b9ff3c/attachment.html>
More information about the eeglablist
mailing list