thresUnif: Computation of the significance threshold

View source: R/metaGEscore.R

thresUnifR Documentation

Computation of the significance threshold

Description

The function thresUnif computes the significance threshold.(function from localscore)

Usage

thresUnif(L, cor, xi, alpha = 0.05)

Arguments

L

The length of the chromosome

cor

The autocorrelation of the chromosome

xi

The threshold of the score, xi = 1,2,3 or 4.

alpha

The nominal threshold.

Details

The distribution of the p-values is uniform, the local score follows a Gumbel distribution under the null.

Value

the significance threshold.


metaGE documentation built on April 3, 2025, 8:48 p.m.