elnetR: Elastic net using summary statistics

View source: R/elnetR.R

elnetRR Documentation

Elastic net using summary statistics

Description

Coordinate descent algorithm to solve: 0.5 x'X'Xx - x'b + lambda1 ||x||_1 + 0.5 lambda2 ||x||_2^2 Function to get elastic net solutions given X, a reference panel, and b, regression coefficients

Usage

elnetR(
  lambda1,
  lambda2 = 0,
  X,
  b,
  thr = 1e-04,
  trace = 0,
  maxiter = 10000,
  blocks = NULL,
  x = NULL
)

SeojinHwang/scadsum documentation built on June 30, 2023, 10:52 p.m.