<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Anna,<br>
<br>
As you might have read, we recently updated how neighbours are
computed and stored, and that you have to specify your neighbours
manually now. Could you let me know how you defined the neighbours
and how many channels your data has? Maybe there is a mismatch
between the neighbour struct and your data in number of sensors, but
that's just a wild guess.<br>
<br>
Anyhow, the result might look different depending on how you define
your neighbours. Anyway, if you provide more information I can look
into this and see how to fix it. <br>
<br>
Best,<br>
Jörn<br>
<br>
On 8/30/2011 5:46 PM, Anna Lambrechts wrote:
<blockquote
cite="mid:CALdyJ7HB+uaRs+mKa5s6ZxtZTbis-nNFz3EP7YQjZfamV2E3-g@mail.gmail.com"
type="cite">Dear fieldtrip community, <br>
<br>
Until about two weeks ago I was using a batch to process group
comparison statistics on MEG data using ft_timelockstatistics. A
week later, the same batch was not working anymore, even on the
same data.<br>
<br>
The error I get is the following:<br>
<br>
<b>??? Improper index matrix reference.<br>
<br>
Error in ==> clusterstat>makechanneighbstructmat at 520<br>
[seld] = match_str(cfg.channel, cfg.neighbours(chan).label);<br>
<br>
Error in ==> clusterstat at 60<br>
channeighbstructmat = makechanneighbstructmat(cfg);<br>
<br>
Error in ==> statistics_montecarlo at 320<br>
[stat, cfg] = clusterstat(cfg, statrand,
statobs,'issource',issource);<br>
<br>
Error in ==> statistics_wrapper at 290<br>
[stat, cfg] = statmethod(cfg, dat, design,
'issource',issource);<br>
<br>
Error in ==> ft_timelockstatistics at 124<br>
[stat, cfg] = statistics_wrapper(cfg, varargin{:});<br>
<br>
Error in ==> myfunction_stats at 59<br>
gpstat = ft_timelockstatistics(cfg, data1, data2); <br>
<br>
</b>It seems the error concerns the 'neighbours.mat' file reading,
even though I am not sure about it. When I delete the two last
lines in this file (to match the size of matrix wanted) the error
disappears, but the processing is incomplete and false (or at
least it does not match the results I had before).<br>
<br>
Has anyone encounter the same issue?<br>
Did you do any update recently that might explain this problem,
and do you have any idea how to remedy to it?<br>
<br>
Best wishes, <br>
Anna.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fieldtrip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a>
<a class="moz-txt-link-freetext" href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
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: <a class="moz-txt-link-abbreviated" href="mailto:jm.horschig@donders.ru.nl">jm.horschig@donders.ru.nl</a>
Tel: +31-(0)24-36-68493
Web: <a class="moz-txt-link-freetext" href="http://www.ru.nl/donders">http://www.ru.nl/donders</a>
Visiting address:
Trigon, room 2.30
Kapittelweg 29
NL-6525 EN Nijmegen
The Netherlands</pre>
</body>
</html>