Description Usage Arguments Value Author(s) References Examples
View source: R/grenander.ebp.R
computes Grenander EBP
1 |
p |
is a vector of p-values. |
pval.pdf |
vector of Grenander PDF estimates corresponding to the input vector of p-values |
ebp.null |
vector of Grenander EBP estimates corresponding to the input vector of p-values |
Stan Pounds <stanley.pounds@stjude.org>; Demba Fofana <demba.fofana@stjude.org>
Langaas, M., Lindqvist, B., 2005. Estimating the proportion of true null hypotheses, with application to DNA microarray data. J.R. Statist. Soc. B67, part4, 555-572. Strimmer, K. 2008. A unified approach to false discovery rate estimation. BMC Bioinformatics 9: 303. Strimmer, K. 2008. fdrtool: a versatile R package for estimating local and tail area-based false discovery rates. Bioinformatics 24: 1461-1462.
1 2 3 4 5 |
####################Grenander estimation #####################
# load data and compute grenander
p<-rbeta(1000,0.8,1) # Grenander example p-values
gren.res<-grenander.ebp(p) # Compute grenander results
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.