data_lasso: Prepare Dataset for Post-processing

Description Usage Arguments Value Examples

View source: R/data_lasso.R

Description

Modify the original dataset in order to save some steps in the approximal gradient descent iteration for lasso.

Usage

1
data_lasso(data, g, par_a = 1)

Arguments

data

The CNV dataset (see load_data)

g

The integer-valued ploidy

par_a

The constant indicating how ploidy infecting the final copy number profile

Value

List of values or matrice for lasso problem

Examples

1
wkdata<-data_lasso(wkdata,g_int)

yun-feng/WGDAP documentation built on Nov. 5, 2019, 1:22 p.m.