Description Usage Arguments Value
Performs multiple comparison corrections on p-values and returns significant SNP's. This is used internally for the preselection function.
1 | Pval_function(p_vals,n,thresh,control)
|
p_vals |
A vector of p-values calculated by the preselection function. |
n |
The original number of SNPs |
thresh |
The type 1 error rate |
control |
The multiple comparison correction one would like to apply. |
The results are formated as a data.frame with the column Significant being 1 or 0 depending on if the SNP was significant (1 for significant). The P_values column will be the p-values that were calculated for each SNP.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.