localFDR: Local False Discovery Rates

Description Usage Arguments Value Examples

View source: R/localFDR.R

Description

Computes the local false discovery rates (FDR) for the paramters given MCMC samples for those parameters

Usage

1
localFDR(chain, thres = 0.001, FDRc = 0.05)

Arguments

chain

MCMC samples of the parameter - dimension N samples x L parameters.

thres

threshold used to compute the Local FDR. Defaults to 0.001.

FDRc

level at which the FDR is controlled (Bayesian FDR). Defaults to 0.05.

Value

r: local FDRs of the L predictors

Examples

1
2
chain = matrix(rnorm(100*5), nrow=100)
localFDR(chain)

shariq-mohammed/RADIOHEAD documentation built on Dec. 10, 2020, 10:19 a.m.