var_lasso: Prepare Variables for Post-processing

Description Usage Arguments Details Value Examples

View source: R/var_lasso.R

Description

Set up initial values for variables used for lasso problem.

Usage

1

Arguments

var

The value for all variables from FPI (see init_var)

factor

The factor to which you want to up-sample the variable from FPI (should be the same as the down-sample factor used before)

Details

Since in most cases, fixed-point method is run before post-processing. It saves a bit time if we start from that result. We can just replicate that result by the factor which was used before during down-sampling, to get an initial value for post-processing.

Value

matrice containing the recurrent CNV before and after WGD

Examples

1
var<-var_lasso(FPI_result$var)

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