View source: R/fdr_threshold.R
fdr_threshold | R Documentation |
Function to compute the corresponding threshold (BY/BH) for controlling FDR
fdr_threshold(pvals, fdr = 0.1, method = "bhq", reshaping_function = NULL)
pvals |
a vector of the feature statistics, AGCs |
fdr |
the pre-specified false discovery rate level |
method |
the test procedure applied to compute the threshold. The defult method to compute threshold is the the Standard Benjamini-Hochberg procedure. |
reshaping_function |
the default value for reshaping function can be referred by Benjamini & Yekutieli (2001) otherwise, the reshaping function can be referred by Ramdas et al (2017) |
The threshold value corresponding to the test procedure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.