[FieldTrip] Plotting parametric cluster permutation

MONALISA CHIKEZIE chikeziemonalisa at gmail.com
Thu Apr 4 01:08:45 CEST 2024


Hi All,
I am relatively new to Fieldtrip and I want to plot source statistics
results. How do I plot the results of my parametric cluster permutation.
I used the following code to run the source statistics.

cfg.stat = [];
cfg.stat.method = 'analytic'; %
cfg.stat.statistic = 'ft_statfun_depsamplesT';
cfg.stat.correctm = 'fdr'; % Analytical methods with an FDR correction
cfg.stat.parameter = 'pow';
cfg.stat.clusteralpha = 0.05;
cfg.stat.clustercritval = 0.05;
cfg.stat.clusterstatistic = 'maxsum';
cfg.stat.minnbchan = 2;
cfg.stat.tail = 0;
cfg.stat.clustertail = 0;
cfg.stat.alpha = 0.025;
cfg.stat.numrandomization = 500;
cfg.stat.computecritval = 'yes' ; % calculates the critical values of the
test statistics
cfg.stat.computeprob = 'yes' ; %calculates the p-values
cfg.stat.frequency = 'all';
cfg.stat.ivar = 1; %conditions
cfg.stat.uvar = 2; %Participnts

I generated and saved the results as stats_results.mat.

The output yielded the following fields:
Field
stat
df
critval
prob
mask
dimord
dim
inside
pos
cfg

Tutorials I saw on the ft website included fields like posclusters angled
negclusters when using Montecarlo method.

Thank you very much.

Best,
Monalisa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20240404/ddc6bfab/attachment.htm>


More information about the fieldtrip mailing list