SCAD_soft_thresholding: SCAD soft thresholding function

Description Usage Arguments Value Examples

View source: R/FSCseq.R

Description

Takes pairwise distances between cluster log2 means and penalty parameters lambda and alpha, and imposes SCAD thresholding rule

Usage

1
SCAD_soft_thresholding(diff_beta, lambda, alpha)

Arguments

diff_beta

difference in pairwise cluster betas (log2 means)

lambda

numeric penalty parameter, lambda >= 0

alpha

numeric penalty parameters, 0 <= alpha < 1

Value

diff_beta value, after SCAD thresholding rule is applied

Examples

1
2
3
4
5
beta1=1
beta2=2
SCAD_soft_thresholding(beta2-beta1,0,0)
SCAD_soft_thresholding(beta2-beta1,0.5,0.45)
SCAD_soft_thresholding(beta2-beta1,1,1)

DavidKLim/FSCseq documentation built on Dec. 12, 2021, 3:46 a.m.