compute_minP: The min-P correction
Description
Compute the min-P correction given a matrix a permuted statistics.
Usage
compute_minP(distribution, alternative)
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".