Description Usage Arguments Details Value
Calculate the empirical false discovery rate (FDR) of a column in a matrix of posterior probabilities given a specified threshold.
1 | calc_fdr_col(post_prob, threshold, col_name = NULL, col_idx = NULL)
|
post_prob |
numeric matrix of posterior probabilities. |
threshold |
numeric value of the posterior probability threshold at which to calculate the empirical FDR. |
col_name |
character string of the column name. |
col_idx |
integer of the column index. |
At least one of col_name
or col_idx
must be specified.
A numeric value of the empirical false discovery rate (FDR).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.