View source: R/haplotype_test_functions.R
bootstrap_test | R Documentation |
This function takes the input data and returns a p-value for the null hypothesis that haplotype configurations which influence coding variant penetrance are not significantly enriched in the population. The p-value is estimated through a bootstrapping procedure, and a confidence interval is returned.
bootstrap_test(haps, exp_beta = "exp_beta", B = 1000)
haps |
The output of 'characterize_haplotypes', or another haplotype calling tool. There is one line per haplotype. Must contain the column "beta" and "exp_beta" |
exp_beta |
The nuame of the column in "haps" that contains the expectation of beta. Defaults to "exp_beta" |
B |
The number of bootstraps to perform. Default: 1000 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.