p_empirical_from_tally | R Documentation |
Tally p-values from permuted null model to enable calculation of empirical p-values
p_empirical_from_tally(p_null_tallies, scaffold_ID, min_n_permutations)
p_null_tallies |
a matrix containing tallies of null p-values above or below the initial p-value |
scaffold_ID |
a string or numeric value indicating the scaffold, to be used only for labeling output |
min_n_permutations |
Integer, the minimum number of permutations needed to calculate the empirical p-value out to the desired number of significant figures |
A dataframe with four columns, for 1) scaffold ID, 2) SNP window position, 3) p-values from the model used in SKAT without resampling, and 4) empirical p-values
data("sample_p_null_tallies")
p_empirical_from_tally(p_null_tallies = sample_p_null_tallies,
scaffold_ID = 10,
min_n_permutations = 1e5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.