Rdocumentation
powered by
Learn R Programming
MultiCNVDetect (version 0.1-1)
P: Compute P(x) in BCGD algorithm
Description
In BCGD algorithm,the target function is F(x)=f(x)+cP(x).Function P calculates P(x) given x=x0.
Usage
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.