<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear Sanjeev,<div class=""><br class=""></div><div class="">take a look at this tutorial:</div><div class=""><a href="http://www.fieldtriptoolbox.org/tutorial/cluster_permutation_freq" class="">http://www.fieldtriptoolbox.org/tutorial/cluster_permutation_freq</a></div><div class=""><br class=""></div><div class="">You need to use the ft_freqstatistics-function for TFR data.</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Julian</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">________________<br class="">Prof. Dr. Julian Keil<br class=""><br class="">Biologische Psychologie<br class="">Olshausenstraße 62 - R. 306<br class="">24118 Kiel<br class=""><br class="">0431 / 880 - 4872<br class=""><a href="http://www.biopsych.uni-kiel.de/" class="">http://www.biopsych.uni-kiel.de/</a><br class=""><br class="">Klinik für Psychiatrie und Psychotherapie<br class="">der Charité im St. Hedwig-Krankenhaus<br class="">Große Hamburger Straße 5-11<br class="">10115 Berlin<br class=""><br class="">030 / 2311 - 1879<br class="">www.multisensorymind.com</div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">Am 12.04.2018 um 15:11 schrieb Sanjeev Nara <<a href="mailto:s.nara@bcbl.eu" class="">s.nara@bcbl.eu</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello, <br class=""><br class="">I am trying to implement parametric test on TFR data. I have 20 participant's data with 4 different conditions. I am interested in compairing theses conditions. After preprocessing and TFR computation i have one variable with (subjects * channels * freq * time ). The tutorial given on the website is using ERF data. Can i use it for TFR as well. <br class=""><br class=""><br class="">cfg = [];<br class="">cfg.channel     = 'MEG';<br class="">cfg.latency     = [0.3 0.7];<br class="">cfg.avgovertime = 'yes';<br class="">cfg.parameter   = 'avg';<br class="">cfg.method      = 'montecarlo';<br class="">cfg.statistic   = 'ft_statfun_depsamplesT'<br class="">cfg.alpha       = 0.05;<br class="">cfg.correctm    = 'no';<br class="">cfg.correcttail = 'prob';<br class="">cfg.numrandomization = 1000;<br class=""><br class="">Nsub = 10;<br class="">cfg.design(1,1:2*Nsub)  = [ones(1,Nsub) 2*ones(1,Nsub)];<br class="">cfg.design(2,1:2*Nsub)  = [1:Nsub 1:Nsub];<br class="">cfg.ivar                = 1; % the 1st row in cfg.design contains the independent variable<br class="">cfg.uvar                = 2; % the 2nd row in cfg.design contains the subject number<br class=""><br class="">stat = ft_timelockstatistics(cfg,allsubjFIC{:},allsubjFC{:})<br class=""><br class="">% make the plot<br class="">cfg = [];<br class="">cfg.style     = 'blank';<br class="">cfg.layout    = 'CTF151_helmet.mat';<br class="">cfg.highlight = 'on';<br class="">cfg.highlightchannel = find(stat.mask);<br class="">cfg.comment   = 'no';<br class="">figure; ft_topoplotER(cfg, GA_FC)<br class="">title('Nonparametric: significant without multiple comparison correction')<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">Best regards <br class="">Sanjeev<br class=""><br class=""><br class=""><br class="">Sanjeev Nara<br class="">Predoctoral Researcher BCBL<br class=""><a href="http://www.bcbl.eu" class="">www.bcbl.eu</a><br class="">https://sites.google.com/view/sanjeev-nara/<br class="">Tel: +34 943 309 300 (ext 314)<br class="">Legal disclaimer/Aviso legal/Lege-oharra: www.bcbl.eu/legal-disclaimer<br class="">_______________________________________________<br class="">fieldtrip mailing list<br class="">fieldtrip@donders.ru.nl<br class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip<br class=""></div></div></blockquote></div><br class=""></div></body></html>