<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Vitoria,<br>
<br>
I guess that is the same error that Roey Schurr described a few
days back. There were some changes recently in the atlas lookup
function (we replaced one function and made another more general).
Apparently that broke some things, or you two just happen to do
this as the first ever ;)<br>
The only thing I can think of is that you might need to
interpolate to the MNI template so that the dimensions are matched
between the atlas and your source structures. Could you give that
a try and let us know whether that helps? <br>
<br>
Best,<br>
Jörn<br>
<br>
<br>
On 10/16/2013 11:19 AM, Vitória Magalhães Piai wrote:<br>
</div>
<blockquote cite="mid:525E5A15.9080900@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Dear all, <br>
<br>
I'm trying to run ft_sourcestatistics with a specified ROI. It's
data (MNEs) averaged over time.<br>
<br>
If I run ft_sourcestatistics without an ROI, I get a cluster with
prob = .178. It looks like this (figure attached), where I masked
using the t-values.<br>
Since I'm dealing with an N400-like component, I've got good
reasons to expect the effect to be localised (mainly) to left
temporal areas. <br>
<br>
So I tried adding this to my cfg:<br>
<br>
cfgst.atlas = 'aal\ROI_MNI_V4.nii';<br>
cfgst.roi = {'Temporal_Mid_L' 'Temporal_Sup_L'
'Temporal_Inf_L' };<br>
cfgst.avgoverroi = 'yes';<br>
cfgst.hemisphere = 'left';<br>
cfgst.inputcoord = 'mni' ;<br>
stat = ft_sourcestatistics(cfgst, iRel{:}, iIde{:}); <br>
<br>
If cfgst.avgoverroi == 'yes'; I get the following error:<br>
<br>
??? In an assignment A(:) = B, the number of elements in A and B<br>
must be the same.<br>
Error in ==> clusterstat at 187<br>
tmp(cfg.inside) = postailobs;<br>
Error in ==> ft_statistics_montecarlo at 326<br>
[stat, cfg] = clusterstat(cfg, statrand,
statobs,'issource',issource);<br>
Error in ==> statistics_wrapper at 298<br>
[stat, cfg] = statmethod(cfg, dat, design,
'issource',issource);<br>
Error in ==> ft_sourcestatistics at 107<br>
[stat, cfg] = statistics_wrapper(cfg, varargin{:});<br>
<br>
If cfgst.avgoverroi == 'no'; <br>
ft outputs "found positive clusters in observed data" and
stat.posclusters/negclusters is only NaN. This is regardless of
whether cfgst.roi is one label or a cell array.<br>
<br>
Does anyone know what I'm doing wrong?<br>
I've been completely stuck on source statistics for these MNEs for
days, so <i>any</i> help would be highly appreciated, even if it
is to suggest another way to do the stats!<br>
<br>
Thanks a lot, Vitória<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
FieldTrip Development Team
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>