BFDR | R Documentation |
This function computes Bayesian FDRs from posterior tail probabilities or local fdrs P(H0|Y).
BFDR(lfdr1,lfdr2=NULL,multcomp=FALSE)
lfdr1 |
Vector or matrix containing tail probabilities for each comparison or parameter |
lfdr2 |
Vector or matrix containing tail probabilities (to the the other side than those in |
multcomp |
Boolean, TRUE or FALSE indicating whether a multiple comparison is desired |
See Ventrucci et al. reference below for interpretation of BFDR, also in comparison with ordinary FDR. Posterior tail probabilities can be
computed with the function SummaryWrap
A numerical vector or matrix. A matrix is returned when the input lfdrs
are matrices and multcomp=FALSE
.
Mark A. van de Wiel
Ventrucci, M, Scott, EM and Cocchi, D (2011). Multiple testing on standardized mortality ratios: a Bayesian hierarchical model for FDR estimation. Biostatistics 12, 51-67.
Van de Wiel MA, Leday GGR, Pardo L, Rue H, Van der Vaart AW, Van Wieringen WN (2012). Bayesian analysis of RNA sequencing data by estimating multiple shrinkage priors. Biostatistics.
SummaryWrap
#See ShrinkSeq, ShrinkGauss and CombinePosteriors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.