Learn R Programming

metaGE (version 1.2.2)

FastKerFdr: FastKerFdr

Description

Computes H1 posteriors of the Z-scores.

Usage

FastKerFdr(
  Z,
  p0,
  plotting = FALSE,
  NbKnot = 1e+05,
  tol = 1e-05,
  max_iter = 10000
)

Value

tau is the vector of H1 posteriors

Arguments

Z

A vector containing Zscores

p0

A double between 0 and 1. A priori proportion of H0 hypotheses

plotting

A boolean saying to plot or not (FALSE by default)

NbKnot

The (maximum) number of knot for the kde procedure.(1e5 by default)

tol

a tolerance value for convergence (1e-5 by default)

max_iter

the maximum number of iterations allowed for the algorithm to converge or complete its process.(Default is 1e4.)