Thin extender over locfdr::locfdr for Efron's
empirical-Bayes local false-discovery-rate estimation from a
vector of z-scores (Efron, 2004; Efron, 2010).
Arguments
- zz
Numeric vector of test statistics (typically z-scores) for the locfdr empirical-null fit.
- ...
Further arguments forwarded to
locfdr::locfdr(e.g.bre,df,pct,pct0,nulltype,type,plot,mult,mlests,main,sw).
Value
A list with $method = "locfdr::locfdr" and
$raw (the locfdr object with the fitted local-FDR
curve, empirical-null parameters, and the fdr / Fdrleft /
Fdrright summaries).
Examples
if (FALSE) { # \dontrun{
if (requireNamespace("locfdr", quietly = TRUE)) {
set.seed(1)
zz <- c(stats::rnorm(900), stats::rnorm(100, mean = 3))
morie_locfdr_estimate(zz)
}
} # }