Qvalue(pValues, lambda=seq(0, 0.9, 0.05), pi0.method="smoother",
fdr.level=NULL, robust=FALSE, smooth.df=3, smooth.log.pi0=FALSE,
silent=FALSE)TRUE no output is generated.errorControl, containing the type of error controlled by the function.Note: If no options are selected, then the method used to estimate pi0 is the smoother method desribed in Storey and Tibshirani (2003). The bootstrap method is described in Storey, Taylor and Siegmund (2004).
pval <- c(runif(50), runif(50, 0, 0.01))
result <- Qvalue(pval)
result <- Qvalue(pval, lambda=0.5)Run the code above in your browser using DataLab