Skip to content

Workspace_variables

Cyril Pernet edited this page Jul 27, 2022 · 2 revisions

Whenever you ask for results at a given threshold and method (say TFCE at p<0.05), an analysis is run to threshold data and get the equivalent under the null (i.e. on bootstrapped data if you have computed them) - the figure is displayed and variables are exported in the workspace.

Workspace variables

p_values the p-values associated with the plotted data
stat_values the t/F values associated with the plotted data
mask array of significant cells (binary or N-ary for clusters)
Plotted_data (if course plot at the subject level) reporting the summary statistics data (means, trimmed means)

What can you do with those variables?

  • how many clusters? max(unique(mask(:)))
  • what is the p-value of cluster N? p_values(mask == N)
  • what is the largest p-value? max(p_values(mask ~= 0))
  • what is the range of significant F/t values? [min(stat_values(mask ~= 0)) max(stat_values(mask ~= 0))] etc ..

You can atually replot using limo_display_image(LIMO,stat_values,mask,'your own title,0)

Clone this wiki locally