getFdr {reconsi}R Documentation

Calculate tail-area (Fdr) and local (fdr) false discovery rates, based on a certain null distribution

Description

Calculate tail-area (Fdr) and local (fdr) false discovery rates, based on a certain null distribution

Usage

getFdr(statObs, fitAll, fdr, zSeq, p, p0, zValsDensObs, smoothObs, ...)

Arguments

statObs

Vector of observed z-values

fitAll

The parameters of the estimated random null

fdr

local false discovery rate, already estimated

zSeq

Support of the density estimation

p

the number of hypotheses

p0

The estimated fraction of null hypotheses

zValsDensObs

estimated densities of observed test statistics

smoothObs

A boolean, should estimated observed densities of the test statistics be used in estimating the Fdr

...

more arguments, ignored

Value

A list with components

Fdr

Tail are false discovery rate

fdr

Local false discovery rate


[Package reconsi version 1.4.0 Index]