[FieldTrip] problem with clusterplot
Marieke van Vugt
m.k.van.vugt at rug.nl
Mon Oct 24 16:57:18 CEST 2011
Hi Jörn,
yes, that totally fixes it! I just did not find that in the tutorial I used: http://fieldtrip.fcdonders.nl/tutorial/eventrelatedstatistics
Thanks a lot for the help,
Marieke
On Oct 24, 2011, at 4:20 , Jörn M. Horschig wrote:
> Hey Marieke,
>
> I just checked your workspace, and realized that in your cfg there is no field parameter. Maybe something went wrong or you made a typo somewhere. Just setting cfg.parameter='prob' solved the problem for me and ft_clusterplot works nicely (nice cluster, btw).
>
> the call to "ft_clusterplot" took 20 seconds and an estimated NaN MB
> >> cfg
>
> cfg =
>
> alpha: 0.1000
> elec: [1x1 struct]
> zlim: [-2 2]
> parameter: 'prob'
>
>
> Best,
> Jörn
>
>
>
>
> On 10/24/2011 11:35 AM, Marieke van Vugt wrote:
>>
>> Hi everyone,
>> I am trying to use ft_clusterplot after having done ft_timelockstatistics. I get the following error:
>> >>cfg = [];
>> >>cfg.alpha = 0.1;
>> >>cfg.parameter = 'prob';
>> >>cfg.elec = timelockLow.elec;
>>
>> >> ft_clusterplot(cfg,stat);
>> creating layout from cfg.elec
>> creating layout for ext1020 system
>> There are 1 clusters smaller than alpha (0.1)
>> Positive cluster: 1, pvalue: 0.065 (+), t = 0.712 to 0.836
>> ??? Reference to non-existent field 'parameter'.
>>
>> Error in ==> ft_topoplotER at 610
>> dat = data.(cfg.parameter);
>>
>> Error in ==> ft_clusterplot at 339
>> ft_topoplotER(cfgtopo, stat);
>>
>> 610 dat = data.(cfg.parameter);
>> K>> dbquit
>>
>> In general the stat output looks fine.
>> You can find the 'stat' and 'cfg' variables that I use in my dropbox: http://dl.dropbox.com/u/13997261/clusterProblem.mat
>>
>> Does anyone know what's going on here? I could not figure out what the field 'parameter' should be and why it was not existing in the first place.
>> Thanks a lot in advance for your help,
>> Marieke
>> ----------------------------------------------------------------------------
>> Marieke van Vugt, PhD
>> Assistant Professor, Cognitive Modeling Group
>> Bernoulliborg, room 326
>> Nijenborgh 9
>> 9747 AG Groningen
>> The Netherlands
>> phone: +31-6-51954984 (cell)
>> +31-50-363-9487 (office)
>> http://www.ai.rug.nl/~mkvanvugt
>> m.k.van.vugt at rug.nl
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> fieldtrip at donders.ru.nl
>> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
> --
> Jörn M. Horschig
> PhD Student
> Donders Institute for Brain, Cognition and Behaviour
> Centre for Cognitive Neuroimaging
> Radboud University Nijmegen
> Neuronal Oscillations Group
>
> P.O. Box 9101
> NL-6500 HB Nijmegen
> The Netherlands
>
> Contact:
> E-Mail: jm.horschig at donders.ru.nl
> Tel: +31-(0)24-36-68493
> Web: http://www.ru.nl/donders
>
> Visiting address:
> Trigon, room 2.30
> Kapittelweg 29
> NL-6525 EN Nijmegen
> The Netherlands
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
----------------------------------------------------------------------------
Marieke van Vugt, PhD
Assistant Professor, Cognitive Modeling Group
Bernoulliborg, room 326
Nijenborgh 9
9747 AG Groningen
The Netherlands
phone: +31-6-51954984 (cell)
+31-50-363-9487 (office)
http://www.ai.rug.nl/~mkvanvugt
m.k.van.vugt at rug.nl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111024/6da81ee3/attachment-0002.html>
More information about the fieldtrip
mailing list