<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr">
<div></div>
<div>
<div>
<div dir="ltr"></div>
</div>
<div>Hi <span style="caret-color: rgb(0, 0, 0); font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">Jan Mathijs</span></div>
<div dir="ltr"><span style="caret-color: rgb(0, 0, 0); font-family: Calibri, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div class="ms-outlook-ios-signature" dir="ltr">
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
Your suggestion seems to work well for cfg.method=’mtmconvol’</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
I added<span> </span><span style="font-size: 13pt; font-family: "Courier New"; color: black; line-height: 1.5">cfg.origdim = [1 numel(freq.freq) numel(freq.time)];</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
<span style="font-size: 12pt; font-family: "Courier New"; line-height: 1.5"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
And the permutation script finished without error.<span> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
However, the stat structure after running ft_freqstatistics looks like this. Even though the dimord states that it should be chancmb_freq_time, fields like prob, posclusterslabelmat etc not in the correct dimension.</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
stat =<span> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
  struct with fields:</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                   prob: [3636×1 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
            posclusters: [1×10 struct]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
    posclusterslabelmat: [3636×1 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
        posdistribution: [1×500 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
            negclusters: [1×7 struct]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
    negclusterslabelmat: [3636×1 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
        negdistribution: [1×500 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                cirange: [3636×1 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                   mask: [3636×1 logical]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                   stat: [3636×1 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                    ref: [3636×1 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                 dimord: 'chancmb_freq_time'</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                   freq: [1×36 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                  label: {2×1 cell}</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                   time: [1×101 double]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
                    cfg: [1×1 struct]</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
I simply reshaped those fields using the actual dimensions as shown below. I guess this is ok to do.</p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
<span style="font-size: 13pt; font-family: "Courier New"; color: black; line-height: 1.5">newdim=[nchoosek(numel(stat.label),2) numel(stat.freq) numel(stat.time)];</span><span style="font-size: 12pt; font-family: "Courier New"; line-height: 1.5"></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
<span style="font-size: 13pt; font-family: "Courier New"; color: black; line-height: 1.5">stat.prob=reshape(stat.prob,newdim);</span><span style="font-size: 12pt; font-family: "Courier New"; line-height: 1.5"></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
<span style="font-size: 13pt; font-family: "Courier New"; color: black; line-height: 1.5">stat.posclusterslabelmat=reshape(stat.posclusterslabelmat,newdim);</span><span style="font-size: 12pt; font-family: "Courier New"; line-height: 1.5"></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; caret-color: rgb(33, 33, 33); color: rgb(33, 33, 33)">
 </p>
<br>
</div>
</div>
<div id="id-9a82dfef-bfd3-4a3b-9c5b-e41823913634" class="ms-outlook-mobile-reference-message">
<hr style="display: inline-block; width: 98%; font-family: -webkit-standard; font-size: 12pt; color: rgb(0, 0, 0);" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif"><b>From:</b> fieldtrip <fieldtrip-bounces@science.ru.nl> on behalf of Schoffelen, J.M. (Jan Mathijs) via fieldtrip <fieldtrip@science.ru.nl><br>
<b>Sent:</b> Tuesday, August 31, 2021 1:58 AM<br>
<b>To:</b> FieldTrip discussion list<br>
<b>Cc:</b> Schoffelen, J.M. (Jan Mathijs)<br>
<b>Subject:</b> Re: [FieldTrip] Error using indepsamplesZcoh function for calculating coherence differences
<div> </div>
</font></div>
<meta content="text/html; charset=utf-8">
Hi Raghavan,
<div class=""><br class="">
</div>
<div class="">I don’t know what’s the problem. What I do know is that the indepsamplesZcoh function has been written with ‘mtmfft’ data in mind. It could be that it will be possible to get it to work with ‘mtmconvol’ data, too. Perhaps you could start by specifying
 a consistent dim in cfg.dim, including a numel(freq.time) and see what happens.</div>
<div class=""><br class="">
</div>
<div class="">BW,</div>
<div class="">JM</div>
<div class=""><br class="">
</div>
<div class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On 31 Aug 2021, at 05:27, Raghavan Gopalakrishnan via fieldtrip <<a href="mailto:fieldtrip@science.ru.nl" class="">fieldtrip@science.ru.nl</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div dir="ltr" class="">
<div class=""></div>
<div class="">
<div dir="ltr" class=""><br class="">
</div>
</div>
<div id="id-e9c1f721-8d5c-4c32-9c79-cc1c463de275" class="ms-outlook-mobile-reference-message">
<meta content="text/html; charset=utf-8" class="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)" class="">
<div class="WordSection1">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Hi Jan-Mathijs,</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
I would like to follow up on the below message exchange between you and Bushra regarding using indepsamplesZcoh.</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Your suggestions works well for method ‘mtmfft’ when computing frequency. However when using ‘mtmconvol’ to get time-freq representation of coherence, the code ends up with an error. Please see below.</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
There seems to be an issue in line 210 Clusterstat.m that it is unable to reshape the statistics to original dimension. cfg.origdim option doesn’t seem to work.</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Any help us much appreciated.</div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
% computing Frequency</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfgf                 = [];</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfgf.output          =
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'fourier'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfgf.method          =
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'mtmconvol'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfgf.foi             = 5:1:40;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfgf.t_ftimwin       =  3 ./ cfgf.foi;
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">%length of the sliding time window in seconds</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfgf.toi             = 0:0.01:1;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfgf.trials     = find(data_preproc.trialinfo(:,1)==284);</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfgf.taper      =
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'hanning'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">freq1 = ft_freqanalysis(cfgf, data_preproc);</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfgf.trials     = find(data_preproc.trialinfo(:,1)==280);</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">freq2 = ft_freqanalysis(cfgf, data_preproc);</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfga=[];</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfga.appenddim=</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'rpt'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">comb_freq = ft_appendfreq(cfga,freq1,freq2);</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
%Permutation</div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg = [];</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.method            =
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'montecarlo'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;          
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% use the Monte Carlo Method to calculate the significance probability</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.statistic         =
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'indepsamplesZcoh'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;       
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% use the independent samples T-statistic as a measure to evaluate the effect at the sample level</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.correctm          =
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'cluster'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.clusteralpha      = 0.05;                  
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% alpha level of the sample-specific test statistic that will be used for thresholding</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.clustertail       = 0;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.clusterstatistic  =
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'maxsum'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;              
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% test statistic that will be evaluated under the permutation distribution.</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.tail              = 0;                     
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% -1, 1 or 0 (default = 0); one-sided or two-sided test</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.correcttail       =
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'prob'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;                
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% the two-sided test implies that we do non-parametric two tests</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.alpha             = 0.05;                  
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% alpha level of the permutation test</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.numrandomization  = 50;                  
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% number of draws from the permutation distribution</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.design            = [comb_freq.trialinfo(:,1)'];
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% design matrix, note the transpose</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.ivar              = 1;                     
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% the index of the independent variable in the design matrix</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.neighbours        = [];                    
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% there are no spatial neighbours, only in time and frequency</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.channel           = {‘FC1’
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'mean*'</span><span class="" style="font-size:13pt; font-family:"Courier New"">};</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.parameter = </span>
<span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#AA04F9">'fourierspctrm'</span><span class="" style="font-size:13pt; font-family:"Courier New"">;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.clustercritval = 0.05;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.origdim = [1 numel(comb_freq.freq)];</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.connectivity = false;</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-autospace:none">
<span class="" style="font-size:13pt; font-family:"Courier New""></span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.design=[];</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">trlblk=unique(comb_freq.trialinfo(:,1));
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">%trlblk=trlblk(logical(trlblk>10));</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.design(comb_freq.trialinfo(:,1)== trlblk(1)) = 1;
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% OFF condition</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">cfg.design(comb_freq.trialinfo(:,1)==trlblk(2)) = 2;
</span><span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009">% ON condition</span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-autospace:none">
<span class="" style="font-size:13.0pt; font-family:"Courier New"; color:#028009"></span><span class="" style="font-size:12.0pt; font-family:"Courier New""></span></p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13pt; font-family:"Courier New"">stat = ft_freqstatistics(cfg, comb_freq);</span></div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-autospace:none">
<span class="" style="font-size:13pt; font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-autospace:none">
<span class="" style="font-size:13pt; font-family:"Courier New""> </span></p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">Error using reshape</span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">Number of elements must not change. Use [] as one of the</span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">size inputs to automatically calculate the appropriate</span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">size for that dimension.</span></div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-autospace:none">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red"> </span></p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">Error in clusterstat (line 210)</span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">        tmp = reshape(postailobs, [cfg.dim 1]);</span></div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-autospace:none">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red"> </span></p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">Error in ft_statistics_montecarlo (line 364)</span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">  [stat, cfg] = clusterstat(cfg, statrand, statobs);</span></div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-autospace:none">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red"> </span></p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">Error in ft_freqstatistics (line 194)</span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">  [stat, cfg] = statmethod(cfg, dat, design);</span></div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-autospace:none">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red"> </span></p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">Error in Priming_task_permutation (line 68)</span></div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:12.0pt; font-family:"Courier New"; color:red">stat = ft_freqstatistics(cfg, comb_freq);</span></div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </p>
<div class="" style="border:none; border-bottom:solid windowtext 1.0pt; padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; border:none; padding:0in">
 </p>
</div>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
 </p>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<b class=""><span class="" style="font-size:13.5pt">Schoffelen, J.M. (Jan Mathijs)</span></b><span class="" style="font-size:13.5pt; background-color:white"> </span><a href="mailto:fieldtrip%40science.ru.nl?Subject=Re%3A%20%5BFieldTrip%5D%20Error%20using%20indepsamplesZcoh%20function%20for%0A%20calculating%20coherence%20differences&In-Reply-To=%3CA525165A-72A2-4EBE-98A4-A709C95B137A%40donders.ru.nl%3E" title="[FieldTrip] Error using indepsamplesZcoh function for calculating coherence differences" class=""><span class="" style="font-size:13.5pt">jan.schoffelen
 at donders.ru.nl</span></a><span class="" style="font-size:13.5pt"><br class="">
<i class="">Tue May 18 16:21:58 CEST 2021</i></span></div>
<ul type="disc" class="" style="margin-bottom:0in">
<li class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13.5pt">Previous message (by thread): <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/040872.html" class="">[FieldTrip] Error using indepsamplesZcoh function for calculating coherence differences</a></span></li><li class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13.5pt">Next message (by thread): <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/040864.html" class="">[FieldTrip] Scaling of Laplacian transformed ERPs</a></span></li><li class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<b class=""><span class="" style="font-size:13.5pt">Messages sorted by:</span></b><span class="" style="font-size:13.5pt"> <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/date.html#40873" class="">[ date ]</a> <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/thread.html#40873" class="">[
 thread ]</a> <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/subject.html#40873" class="">[ subject ]</a> <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/author.html#40873" class="">[ author ]</a></span></li></ul>
<div class="MsoNormal" align="center" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-align:center">
<hr size="2" width="100%" noshade="" align="center" class="" style="">
</div>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New"; white-space:pre-wrap; font-variant-ligatures:normal; font-variant-caps:normal; orphans:2; text-align:start; widows:2; text-decoration-style:initial; text-decoration-color:initial; word-spacing:0px"><span class="" style="">Hi Bushra,</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Thank you for your reply. I am stuck with this for couple of days now.</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Welcome to science.</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> >Can you please specify the cfg to ft_freqstatistics as well? Otherwise, we don’t know what you did exactly.</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg            = [];</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.method = 'montecarlo';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.statistic = 'indepsamplesZcoh';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.design(1,1:148)=1;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.design(1,149:296)=2;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.numrandomization = 1000;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.correctm         = 'cluster';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.neighbours=[];</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.parameter='crsspctrm';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.alpha            = 0.05;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.clusteralpha     = 0.05;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">stat=ft_freqstatistics(cfg,freq_coh);</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Sorry I didnt follow this point. I am calling freqstatistics with above cfg parameters</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">To reiterate, you need to use cfg.parameter = ‘fourierspctrm’, and (cfg.output = ‘fourier’ when calling ft_freqanalysis). The low-level ft_statfun_indepsamplesZcoh assumes that the input data are fourier coefficients.</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Next, as a disclaimer: I think that indepsamplesZcoh has hardly been used recently, so it could very well be that it’s functional behavior has not been kept up-to-date with the state of the rest of the toolbox.</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">><i class="">Also, ft_freqstatistics with cfg.statistic = ’indepsamplesZcoh’ requires frequency data that has been computed with >‘fourier’ rather than ‘powandcsd’ as cfg.method for ft_freqanalysis</i></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">when freq_coh is calculated with fourier method, then above code give following error</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Error using ft_freqstatistics (line 177)</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">the length of the design matrix (1) does not match the number of observations in the data (2072)</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">It seems as if the dimord for fourier data is not read correctly, rpttap_chan_freq is getting confused with rpt_chan_freq as 2072 are rpttap , number of repetitions are only 296</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">If you use multitaper spectral analysis, each ’trial’ (aka rpt) gets more than one taper assigned, in your case about 7. These are the number of columns in your data matrix, so that needs to be reflected in the design. Therefore, the design have 2072 columns. In addition, for the randomization to be done correctly, you need to specify in the design, which columns belong to the same trial. So you need to define a second column consisting of [1 1 … 1 2 2 .. 2 …296] coding the individual trials. Then you need to appropriately set the cfg.ivar=1, and cfg.wvar=2 -> please consult the documentation on the fieldtrip website for this.</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">In addition you may need to specify cfg.origdim = [1 numel(freq_coh.freq)], and cfg.connectivity = false; before calling ft_freqstatistics.</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Moreover, you may need to comment out lines 127 and 150 in ft_statfun_indepsamplesZcoh.m</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">I hope that this will help you on your way, to get it resolved for you. Perhaps you could filie a Pull Request on our github repository with the required change to ft_statfun_indepsamplesZcoh. Also it would be superhelpful for the rest of the community, if your experiences will be solidified in an example script that can be hosted on: <a href="https://urldefense.com/v3/__https://www.fieldtriptoolbox.org/example/__;!!HJOPV4FYYWzcc1jazlU!qK3aQmWgP3z8GfL5M-J31zFsqg4FFaJXZMUhMhRNZ1u_6990Gl3Khod2yQFL7_VB3U39XIi7juKIIMs$" class="">https://www.fieldtriptoolbox.org/example/</a></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Best wishes,</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Jan-Mathijs</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">The error can be reproduced by running following script</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""><a href="https://urldefense.com/v3/__https://www.dropbox.com/s/7bupsr8gkdmy28c/testcode.m?dl=0*3Chttps:**Aurldefense.com*v3*__https:**Awww.dropbox.com*s*7bupsr8gkdmy28c*testcode.m*dl=0__;!!HJOPV4FYYWzcc1jazlU!og3YlDTnQJXpbwiNKFrIAwklgaHzW9Gkdlv-WeCI05whozlcD9pwXXXbKggQyxNDb85XDPxE$__;JS8vLy8vLy8vLz8!!HJOPV4FYYWzcc1jazlU!qK3aQmWgP3z8GfL5M-J31zFsqg4FFaJXZMUhMhRNZ1u_6990Gl3Khod2yQFL7_VB3U39XIi7dNjcJU0$" class="">https://www.dropbox.com/s/7bupsr8gkdmy28c/testcode.m?dl=0<https://urldefense.com/v3/__https://www.dropbox.com/s/7bupsr8gkdmy28c/testcode.m?dl=0__;!!HJOPV4FYYWzcc1jazlU!og3YlDTnQJXpbwiNKFrIAwklgaHzW9Gkdlv-WeCI05whozlcD9pwXXXbKggQyxNDb85XDPxE$</a>></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">with this data</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""><a href="https://urldefense.com/v3/__https://www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0*3Chttps:**Aurldefense.com*v3*__https:**Awww.dropbox.com*s*6gfj97srttteawy*Coh_data.mat*dl=0__;!!HJOPV4FYYWzcc1jazlU!og3YlDTnQJXpbwiNKFrIAwklgaHzW9Gkdlv-WeCI05whozlcD9pwXXXbKggQyxNDb1di9xyl$__;JS8vLy8vLy8vLz8!!HJOPV4FYYWzcc1jazlU!qK3aQmWgP3z8GfL5M-J31zFsqg4FFaJXZMUhMhRNZ1u_6990Gl3Khod2yQFL7_VB3U39XIi7Edt4FMM$" class="">https://www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0<https://urldefense.com/v3/__https://www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0__;!!HJOPV4FYYWzcc1jazlU!og3YlDTnQJXpbwiNKFrIAwklgaHzW9Gkdlv-WeCI05whozlcD9pwXXXbKggQyxNDb1di9xyl$</a>></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Thank you</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Kind regards</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Bushra Riaz</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">________________________________</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">From: fieldtrip <<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">fieldtrip-bounces at science.ru.nl</a><mailto:<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">fieldtrip-bounces at science.ru.nl</a>>> on behalf of Schoffelen, J.M. (Jan Mathijs) <<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">jan.schoffelen at donders.ru.nl</a><mailto:<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">jan.schoffelen at donders.ru.nl</a>>></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Sent: 18 May 2021 14:05</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">To: FieldTrip discussion list <<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">fieldtrip at science.ru.nl</a><mailto:<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">fieldtrip at science.ru.nl</a>>></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Subject: Re: [FieldTrip] Error using indepsamplesZcoh function for calculating coherence differences</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Hi Bushra,</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Can you please specify the cfg to ft_freqstatistics as well? Otherwise, we don’t know what you did exactly.</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Also, ft_freqstatistics with cfg.statistic = ’indepsamplesZcoh’ requires frequency data that has been computed with ‘fourier’ rather than ‘powandcsd’ as cfg.method for ft_freqanalysis</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Best wishes,</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Jan_Mathijs</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">On 14 May 2021, at 13:36, Bushra Riaz Syeda <<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">bushra.riaz at gu.se</a><mailto:<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">bushra.riaz at gu.se</a>>> wrote:</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Hello,</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">I am trying to do the analysis based on the paper "nonparametric statistical testing of coherence differences" in fieldtrip for comparing differences between two conditions on single subject level.</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">I am using the following code</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg            = [];</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.method = 'montecarlo';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.statistic = 'indepsamplesZcoh';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.design(1,1:148)=1;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.design(1,149:296)=2;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.numrandomization = 1000;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.correctm         = 'cluster';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.neighbours=[];</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.parameter='crsspctrm';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.alpha            = 0.05;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.clusteralpha     = 0.05;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">stat=ft_freqstatistics(cfg,freq_coh);</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Where freq_coh is calculated as</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg            = [];</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.output     = 'powandcsd';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.method     = 'mtmfft';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.foilim     = [1 40];</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.tapsmofrq  = 2;</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.pad = 'nextpow2';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">cfg.keeptrials = 'yes';</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">freq_coh          = ft_freqanalysis(cfg, Coh_data);</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">I am getting the following error</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Error using ft_statistics_montecarlo (line 250)</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">could not determine the parametric critical value for clustering</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Error in ft_freqstatistics (line 194)</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">  [stat, cfg] = statmethod(cfg, dat, design);</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Sample data can be found at the following link</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""><a href="https://urldefense.com/v3/__https://www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0*3Chttps:**Aurldefense.com*v3*__https:**Awww.dropbox.com*s*6gfj97srttteawy*Coh_data.mat*dl=0__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA-cj5upg$__;JS8vLy8vLy8vLz8!!HJOPV4FYYWzcc1jazlU!qK3aQmWgP3z8GfL5M-J31zFsqg4FFaJXZMUhMhRNZ1u_6990Gl3Khod2yQFL7_VB3U39XIi7Q8W6AmI$" class="">https://www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0<https://urldefense.com/v3/__https://www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA-cj5upg$</a>></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">[<a href="https://urldefense.com/v3/__https://www.dropbox.com/static/images/spectrum-icons/generated/content/content-unknown-large.png__;!!HJOPV4FYYWzcc1jazlU!qK3aQmWgP3z8GfL5M-J31zFsqg4FFaJXZMUhMhRNZ1u_6990Gl3Khod2yQFL7_VB3U39XIi7ah7BSFA$" class="">https://www.dropbox.com/static/images/spectrum-icons/generated/content/content-unknown-large.png</a>]<<a href="https://urldefense.com/v3/__https:/www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA-cj5upg$" class="">https://urldefense.com/v3/__https://www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA-cj5upg$</a>></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Coh_data.mat<<a href="https://urldefense.com/v3/__https:/www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA-cj5upg$" class="">https://urldefense.com/v3/__https://www.dropbox.com/s/6gfj97srttteawy/Coh_data.mat?dl=0__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA-cj5upg$</a>></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Shared with Dropbox</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""><a href="http://www.dropbox.com" class="">www.dropbox.com</a><<a href="https://urldefense.com/v3/__http:/www.dropbox.com__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA7PXFKq_$" class="">https://urldefense.com/v3/__http://www.dropbox.com__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA7PXFKq_$</a>></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">any help would be highly appreciated</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Kind regards</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">Bushra Riaz</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">_______________________________________________</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">fieldtrip mailing list</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""><a href="https://urldefense.com/v3/__https:/doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA0G39K1J$" class="">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!rzdciE12ryfrSpIQp-4LAZj3EK_9U0i1XJby6k79PqsvZKuG4jrCMN-qjHXKDzonA0G39K1J$</a></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">_______________________________________________</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">fieldtrip mailing list</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""><a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""><a href="https://urldefense.com/v3/__https:/doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!og3YlDTnQJXpbwiNKFrIAwklgaHzW9Gkdlv-WeCI05whozlcD9pwXXXbKggQyxNDbwSy0ZCd$" class="">https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!og3YlDTnQJXpbwiNKFrIAwklgaHzW9Gkdlv-WeCI05whozlcD9pwXXXbKggQyxNDbwSy0ZCd$</a></span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style=""> </span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">-------------- next part --------------</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">An HTML attachment was scrubbed...</span></pre>
<pre class="" style="margin:0in 0in 0.0001pt; font-size:10pt; font-family:"Courier New""><span class="" style="">URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210518/be18b5fa/attachment.htm" class="">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20210518/be18b5fa/attachment.htm</a>></span></pre>
<div class="MsoNormal" align="center" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-align:center">
<hr size="2" width="100%" noshade="" align="center" class="" style="">
</div>
<ul type="disc" class="" style="margin-bottom:0in">
<li class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13.5pt">Previous message (by thread): <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/040872.html" class="">[FieldTrip] Error using indepsamplesZcoh function for calculating coherence differences</a></span></li><li class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span class="" style="font-size:13.5pt">Next message (by thread): <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/040864.html" class="">[FieldTrip] Scaling of Laplacian transformed ERPs</a></span></li><li class="MsoNormal" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<b class=""><span class="" style="font-size:13.5pt">Messages sorted by:</span></b><span class="" style="font-size:13.5pt"> <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/date.html#40873" class="">[ date ]</a> <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/thread.html#40873" class="">[
 thread ]</a> <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/subject.html#40873" class="">[ subject ]</a> <a href="https://mailman.science.ru.nl/pipermail/fieldtrip/2021-May/author.html#40873" class="">[ author ]</a></span></li></ul>
<div class="MsoNormal" align="center" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; text-align:center">
<hr size="2" width="100%" noshade="" align="center" class="" style="">
</div>
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class=""><span class="" style="font-size:13.5pt">More information about the fieldtrip mailing list</span></a></div>
</div>
<br class="">
<div class="" style="margin:0in 0in 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<font size="5" color="green" class=""><span class="" style="font-size:18.0pt; color:green"></span></font><font size="2" color="navy" face="Calibri" class=""><span class="" style="font-size:10.0pt; font-family:Calibri; color:navy"></span></font><font size="1" color="green" face="Arial" class=""><span class="" style="font-size:7.0pt; font-family:Arial; color:green">Please
 consider the environment before printing this e-mail</span></font></div>
Cleveland Clinic is currently ranked as one of the nation’s top hospitals by <i class="">
U.S. News & World Report</i> (2021-2022). Visit us online at <a href="https://urldefense.com/v3/__http://www.clevelandclinic.org__;!!HJOPV4FYYWzcc1jazlU!qK3aQmWgP3z8GfL5M-J31zFsqg4FFaJXZMUhMhRNZ1u_6990Gl3Khod2yQFL7_VB3U39XIi7FqZpw2A$" target="_blank" class="">
http://www.clevelandclinic.org</a> for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged,
 confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination,
 distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you.
</div>
</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
https://urldefense.com/v3/__https://doi.org/10.1371/journal.pcbi.1002202__;!!HJOPV4FYYWzcc1jazlU!qK3aQmWgP3z8GfL5M-J31zFsqg4FFaJXZMUhMhRNZ1u_6990Gl3Khod2yQFL7_VB3U39XIi7luQbVF4$
<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</body>
</html>