qval.from.lfdr: 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
Value
vector of q values
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.