Description Usage Arguments Value Author(s)
Internal shrinkage function for values in S vector: y = sgn(x)max(|x| - mu, 0)
1 | thresh(x, mu)
|
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))) |
numeric vector. Regularized vector y
Aditya Deshpande
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.