HuberLasso_SP: Estimate selection probability using HuberLasso function...

View source: R/HuberLasso_SP.R

HuberLasso_SPR Documentation

Estimate selection probability using HuberLasso function solving by APGD

Usage

HuberLasso_SP(X, y, n_lambda, ratio = 1e-2, B = 500, gamma = 1000, niter = 2000, crit_beta = 1e-04, crit_obj = 1e-08, timer = TRUE)

Arguments

X

expressional levels of n_genes target genes (TGs)

y

expressional levels of a transcription factor (TF)

n_lambda

the number of lambdas

ratio

the ratio of the smallest lambda. default: 0.01

B

the number of half-sample resamplings used to calculate selection probabilities of genes. default: 500

gamma

initial value of gamma in APGD. default: 1000

niter

the maximum number of APGD to solve Huber Lasso regression. default: 2000

crit_beta

converge criterion of change of beta. default: 1e-4

crit_obj

converge criterion of change of objective function. default: 1e-8

timer

decide if exist the output report. default: FALSE

Value

SP

n_genes length vector of selection probability.

Examples

n_lambda <- 50
  
ratio <- 0.01
  
SP_HuberLasso = HuberLasso_SP(X, y, n_lambda, ratio, B=B0, gamma=1000, niter=2000, timer=FALSE)

xueweic/APGD documentation built on Sept. 4, 2023, 2:18 a.m.