Description Usage Arguments Value Examples
View source: R/pvdiv_gwas_results.R
Determines the false discovery rate for p-values from a dataframe. By default, this function uses a Benjamini-Hochberg correction on a column called "p.value" to determine a new column of FDR-adjusted p-values.
1 | pvdiv_fdr(gwas_obj, alpha = 0.05, proc = "BH")
|
gwas_obj |
A dataframe with a |
alpha |
The type I error threshold. Default is 0.05. |
proc |
The procedure (used wholesale from |
A tbl_df()
of the original dataframe with a new column named
FDR_adjusted_p
.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.