<div dir="ltr">Dear Fieldtrip community,<br><br>My name is Katarina Slama. I’m a graduate student in the Knight lab at UC Berkeley, and I use ECoG to study visual attention.<br><br>I am currently examining connectivity in ECoG data using ft_connectivityanalysis (cfg and data structures below). I have computed partial coherence values for a network of electrodes. Now I would like to assess the statistical significance of each of the edges by computing a non-parametric equivalent of a one-sample t-test on the coherence values over trials. I have two questions:<br><br>1. Is there a way to obtain a separate partial coherence value for each trial? At present, the partial coherence structure that ft_connectivityanalysis creates has the dimord “chan_chan_freq”.<br><br>2. Is there a fieldtrip function that is designed for computing statistics on connectivity metrics? I have been advised to look into ft_freqstatistics, but this function does not seem to be designed for the output of ft_connectivityanalysis.<br><br>—<br>input structure (freq):<br>label: {'34' '35' '36' '37' '38' '39' '44' '45' '47' '48' '49' '50' '51' '52' '53' '54' '55' '56' '57' '62' '63' '64' '76' '77' '80' '99' '100' '101'}<br>dimord: 'rpttap_chan_freq'<br>freq: [2.0000 3.0000 4.0000]<br>fourierspctrm: [220x28x3 double]<br>cumsumcnt: [220x1 double]<br>cumtapcnt: [220x1 double]<br>trialinfo: [220x1 double]<br>cfg: [1x1 struct]<br><br><br>configuration (cfg):<br>cfg = [];<br>cfg.method = 'coh';<br>cfg.partchannel = freq.label(1);<br>cfg.keeptrials = 'yes';<br><br>partcoh = ft_connectivityanalysis(cfg,freq);<br><br>output structure (partcoh)<br>label: {27x1 cell}<br>dimord: 'chan_chan_freq'<br>cohspctrm: [27x27x3 double]<br>freq: [2.0000 3.0000 4.0000]<br>cfg: [1x1 struct]<br>—<br><br>Thank you and best wishes,<br>Kata<br>
</div>