FastKerFdr: FastKerFdr

View source: R/metaGEmatcor.R

FastKerFdrR Documentation

FastKerFdr

Description

Computes H1 posteriors of the Z-scores.

Usage

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

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.)

Value

tau is the vector of H1 posteriors


metaGE documentation built on April 3, 2025, 8:48 p.m.