[FieldTrip] Cluster-based permutation test from EEGLAB
Tzvetan Popov
tzvetan.popov at uni-konstanz.de
Sun Jan 10 17:08:19 CET 2016
Dear Shingo,
lets keep it by Tzvetan ;-). I’m not familiar with the way EEGLAB deals with FieldTrip functions at all. So I may not be of any further help.
However as a rule of thumb you should almost never change settings in the FieldTrip functions but provide the appropriate configurations always as cfg.xxx. When you mention your analysis works for ERP I don’t see any reason why it fails with time-freq data. Obviously you have your electrode positions and you were able to generate neighborhood structure. If so the same should work for t-f too.
Maybe if you provide the syntax of your analysis me or others can help you in getting it done.
I will advise to undone any changes you made to the FieldTrip code and try again. Probably a fresh version of EEGLAB, clean math lab path etc. and then do it again.
best
tzvetan
> Dear Dr. Tzvetan Popov,
>
> Thank you very much for the quick reply. I edited "cfg.neighbours = neighbors;" in ft_prepare_neighbours.m to be "cfg.neighbours = [];." However, the same error message appears. I am sorry, but I am new to Fieldtrip. I am not sticking to one electrode. I want to specify the electrodes where their power are significantly different from those of the control condition in some specific time-windows and frequencies. The cluster-based analysis works well for ERP. Should I edit other m files? Thank you in advance again.
>
> ************************************************
> 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
> ************************************************
>
>
> On 2016/01/10, at 21:08, Tzvetan Popov wrote:
>
>> Dear Shingo,
>> You get this error because of a missing neighborhood structure with respect to your electrodes. Since you mention one electrode I suggest to specify cfg.neighbours = []. Thus you perform cluster based analysis over time and frequency within the electrode of your interest.
>> Good luck
>> Tzvetan
>>
>>> Am 10.01.2016 um 12:30 schrieb Shingo Tokimoto <tokimoto at mejiro.ac.jp>:
>>>
>>> Dear Fieldtrip users,
>>>
>>> I am trying to apply a cluster-based permutation test on my EEG data. When I try the time-frequency analysis on a channel from the command window of EEGLAB, the error message appears, as follows.
>>>
>>> --------------
>>> EEGLAB error in function ft_checkconfig() at line 147:
>>>
>>> Error: ft_checkconfig (line 147)
>>> 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 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
>>> ************************************************
>>>
>>>
>>>
>>> _______________________________________________
>>> fieldtrip mailing list
>>> fieldtrip at donders.ru.nl
>>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
More information about the fieldtrip
mailing list