Learn R Programming

fdrtool (version 1.2.18)

pvalues: Example p-Values

Description

This data set contains 4,289 p-values. These data are used to illustrate the functionality of the functions fdrtool and pval.estimate.eta0.

Usage

data(pvalues)

Arguments

Format

pvalues is a vector with 4,289 p-values.

Examples

Run this code
# 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