depcFDR: depcFDR

Description Usage Arguments Value Author(s)

Description

Calculate cFDR given vectors of *dependent* test and conditional Z scores

Usage

1
2
depcFDR(Z, Zc, rho, mu = 0, muc, eps = 0.01, p.max = 0.1,
  alpha = seq(0.01, 0.1, by = 0.005), do.optimise = FALSE, ...)

Arguments

Z

vector of Z scores

rho

correlation between Z and Zc under the null hypothesis

alpha

FDR threshold for assessment

...

other arguments passed to cFDR.tune

Value

a named list with three components. alpha is the threshold for rejection, est.cFDR is the estimated FDR at this threshold, cFDR is a vector of conditional FDRs in rectangles defined the corresponding absolute Z and Zc values.

Author(s)

Chris Wallace


chr1swallace/cFDR documentation built on May 13, 2019, 6:18 p.m.