# load fdrtool library
library("fdrtool")
# load data set
data(pvalues)
# estimate density and distribution function,
# and compute corresponding (local) false discovery rates
fdrtool(pvalues, statistic="pvalue")
Run the code above in your browser using DataLab