qval.from.lfdr: Function to compute q values from local false discovery rates

View source: R/ash.R

qval.from.lfdrR Documentation

Function to compute q values from local false discovery rates

Description

Computes q values from a vector of local fdr estimates

Usage

qval.from.lfdr(lfdr)

Arguments

lfdr,

a vector of local fdr estimates

Details

The q value for a given lfdr is an estimate of the (tail) False Discovery Rate for all findings with a smaller lfdr, and is found by the average of the lfdr for all more significant findings. See Storey (2003), Annals of Statistics, for definition of q value.

Value

vector of q values


ashr documentation built on Aug. 22, 2023, 1:07 a.m.