View source: R/haplotype_test_functions.R
bootstrap_comparison_test | R Documentation |
This function uses a very similar principal to the standard bootstrap test, but it takes as input two sets of haplotypes, and compares if their epsilon values are significantly different. This is useful when there is some bias affecting both equally.
bootstrap_comparison_test(haps_1, haps_2, exp_beta = "exp_beta", B = 1000)
haps_1 |
The output of 'characterize_haplotypes', or another haplotype calling tool. There is one line per haplotype. Must contain the column "beta". |
haps_2 |
The output of 'characterize_haplotypes', or another haplotype calling tool. There is one line per haplotype. Must contain the column "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 run |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.