siglasso_internal: Internal function for sigLASSO

View source: R/siglasso_internal.R

siglasso_internalR Documentation

Internal function for sigLASSO

Description

Internal function that assigns weights of signatures to a given sample

Usage

siglasso_internal(
  spectrum,
  sig,
  prior,
  adaptive,
  elastic_net,
  gamma,
  alpha_min,
  iter_max,
  sd_multiplier,
  conf
)

Arguments

spectrum

The mutation spectrum of the target sample

sig

The signature matrix

prior

The weights of penalties given as prior

adaptive

Should it do adpative LASSO?

elastic_net

Should it do elastic net?

gamma

Hyperparameter for adpative LASSO

alpha_min

The minimum alpha

iter_max

The maximum number of iterations

sd_multiplier

The tolerance of SEs in lambda searching

conf

A confidence factor for linear fitting


gersteinlab/siglasso documentation built on Sept. 5, 2022, 8:45 p.m.