Back to the main page.

Bug 23 - error in clusterplot

Reported 2010-01-25 14:10:00 +0100
Modified 2010-05-12 17:26:34 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P5 normal
Assigned to: Roemer van der Meij
Depends on:
See also:

Yuka Okazaki - 2010-01-25 14:10:10 +0100

clusterplot throws an error: cfg = []; cfg.layout = 'CTF151.lay'; cfg.alpha = 0.3; cfg.zparam = 'stat'; %cfg.zlim = [-4 4]; clusterplot(cfg,stat); reading layout from file CTF151.lay There are 1 clusters smaller than alpha (0.3) Positive cluster: 1, pvalue: 0.268 (.) ??? Undefined function or variable "maskdatavector". Error in ==> ft_topoplotER at 570 plot_topo(chanX,chanY,datavector,'interpmethod',cfg.interpolation,... Error in ==> topoplotER at 17 [varargout{1:nargout}] = funhandle(varargin{:}); Error in ==> ft_clusterplot at 306 topoplotER(cfgtopo, stat); Error in ==> clusterplot at 17 [varargout{1:nargout}] = funhandle(varargin{:}); 570 plot_topo(chanX,chanY,datavector,'interpmethod',cfg.interpolation,... stat looks like this stat = prob: [273x1 double] posclusters: [1x1 struct] posclusterslabelmat: [273x1 double] posdistribution: [1x500 double] negclusters: [] negclusterslabelmat: [273x1 double] negdistribution: [1x500 double] mask: [273x1 logical] stat: [273x1 double] ref: [273x1 double] dimord: 'chan' label: {273x1 cell} cfg: [1x1 struct]

Roemer van der Meij - 2010-01-26 09:03:05 +0100

Hi Yuka, I just got an e-mail saying the bug was fixed, but I don't see anything in the comments. Could mention briefly how you fixed it? I can then see whether or not it might happen in the future and such. Best, Roemer