[FieldTrip] problem with clusterplot

Marieke van Vugt m.k.van.vugt at rug.nl
Mon Oct 24 11:35:21 CEST 2011


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











-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20111024/c8579c89/attachment-0001.html>


More information about the fieldtrip mailing list