analytical_p: Analytical pvalue for for loci with only one Bayes Factor...

Description Usage Arguments Details

View source: R/analytical_p.R

Description

Compute the analytical pvalue for for loci with only one Bayes Factor over a threshold

Usage

1
analytical_p(sub, lambda, ncp, thresh)

Arguments

lambda

the lambda parameter of the null distribution of the Bayes Factor.

ncp

the lambda parameter of the null distribution of the Bayes Factor, if not specified set at 0.

nsimu

number of simulation to perform.

lev_res

the maximum level of resolution needed.

Details

Use the theoretical null distribution of the generated Bayes factor to perform simulation of null distriution of the test statistics of the Wavelet screaming procedure.


william-denault/ffw documentation built on Jan. 20, 2021, 8:28 p.m.