init_var: Set the Initial Value for Variables

Description Usage Arguments Value Examples

View source: R/init_var.R

Description

In order to run the fixed-point method, we need to start from some initial value. This function set the initial values for all the variables to their mean values.

Usage

1

Arguments

data

The CNV dataset (see load_data)

par

The parameter used for fixed point method. (see set_par)

Value

List of three matrice containing initial values for ploidy and recurrent CNV before and after WGD.

Examples

1
common_var<-init_var(wkdata,CNV_par)

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