P: Compute P(x) in BCGD algorithm

Description Usage Arguments

View source: R/P.R

Description

In BCGD algorithm,the target function is F(x)=f(x)+cP(x).Function P calculates P(x) given x=x0.

Usage

1
P(X, lambda1, lambda2)

Arguments

X

n*m matrix.

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.


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