Compute the TFCE correction given a matrix a permuted statistical signals.

compute_tfce(distribution, alternative = "greater", E = 0.5, H = 1, ndh)

Arguments

distribution

A matrix of permuted statistical signal. The first row indicating the observed statistics.

alternative

A character string indicating the alternative hypothesis. Default is "greater". Choose between "greater", "less" or "two.sided".

E

A scalar that represent the extend parameter of the TFCE transformation. Default is E = 0.5.

H

A scalar that represent the height parameter of the TFCE transformation. Default is H = 1.

ndh

The number of terms in the approximation of the integral.