armijo_rule: Calculate alpha using armijo_rule in BCGD algorithm

Description Usage Arguments Value

View source: R/armijo_rule.R

Description

In BCGD algorithm,armijo_rule is used to get the alpha in each iterative step.

Usage

1
armijo_rule(Y,X,D,lambda1,lambda2,alpha)

Arguments

Y

A n*m matrix,in the multiple copy number variation detection problem,n denotes #(n) samples,while m denotes #(m) probs.

X

A n*m matrix,original estimator of Y,give X as the same size of Y,often let X=Y.

D

A n*m matrix,original direction in BCGD algorithm.

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.

alpha

Original alpha used in the first step.

Value

Returns an object of scale.


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