pval2locfdr | R Documentation |
The function pval2locfdr
takes a vector of p-values and
estimates for each case the local fdr.
pval2locfdr(pValues, cutoff)
pValues |
pValues to be used. |
cutoff |
The local fdr cutoff for rejection. Hypotheses with |
A list containing:
locfdr |
Numeric vector with local FDR values for each case |
rejected |
Logical vector indicating rejection/retention for each hypothesis when a |
JonathanRosenblatt
Strimmer, K. (2008). fdrtool: a versatile R package for estimating local and tail
area-based false discovery rates. Bioinformatics 24: 1461-1462.
Efron B., Tibshirani R., Storey J. D. and Tusher, V. (2001). Empirical Bayes Analysis of a Microarray Experiment.
Journal of the American Statistical Association 96(456):1151-1160.
pvals<- runif(1000)^2
pval2locfdr(pvals)
pval2locfdr(pValues=pvals, cutoff=0.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.