Main Function

Run the permutation test on the signals

brainperm()

Multiple comparisons procedure for multiple signals

Multiples Comparisons Procedure

Multiples comparisons procedure for tests distributed in space-time

compute_clusterdepth_array()

Cluster Depth Tests

compute_clustermass_array()

Cluster Mass Test

compute_stepdownmaxT_array()

Step-down version of the max T multiple comparisons procedure

compute_tfce_array()

Threshold-free cluster-enhancement (TFCE)

compute_troendle_array()

Troendle's multiple comparisons procedure

Summary Functions

Display a summary/table of the results

print(<brainperm>)

Print method for brainperm object

summary(<brainperm>)

Summary method for brainperm object

Vizualisation Functions

Display fast vizualisation of the results

image(<brainperm>)

Heatmap (time-space) of the tests.

plot(<brainperm>)

Plot a graph of the channels for 1 sample/time-point

Helper Functions

Help reshaping the data in the appropriate format

position_to_graph()

Create a graph of adjacency based on the position of the channel