Compute the clusterdepth test correction given a matrix a permuted statistical signals.

compute_clusterdepth(distribution, threshold, alternative = "two.sided")

Arguments

distribution

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

threshold

A scalar that represents the threshold to create the clusters.

alternative

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