calculate_direction: Calculate direction in each iterative step in BCGD algorithm

Description Usage Arguments Value

View source: R/calculate_direction.R

Description

In BCGD algorithm,we should calculate the direction d in each iterative step.According to the multiple copy number variation detection problem,we solve it using chasing method.

Usage

1
calculate_direction(Y, X, lambda1, lambda2)

Arguments

Y

A n*m matrix.

X

A n*m matrix,should be the same size of Y.

lambda1

A real number larger than 0,the first penalty used in the model,controls the overall copy number alteration amount of the target chromosome.

lambda2

A real number larger than 0,the second penalty used in the model,controls the frequency of the alterations in the target region.

Value

It returns a n*m matrix.


MultiCNVDetect documentation built on May 2, 2019, 2:49 p.m.