thresh: This is second phase in preparing the Panel of Normals

Description Usage Arguments Value Author(s)

Description

Internal shrinkage function for values in S vector: y = sgn(x)max(|x| - mu, 0)

Usage

1
thresh(x, mu)

Arguments

x

numeric vector of length == number of markers in the sample. Vector to which shrinkage is to be applied.

mu

integer. Shrinkage parameter to use (default = lambda2 = 1/(sqrt(no. of markers in input vector)))

Value

numeric vector. Regularized vector y

Author(s)

Aditya Deshpande


kcygan/dryclean documentation built on Feb. 13, 2020, 12:34 a.m.