calculate_direction {MultiCNVDetect} | R Documentation |
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.
calculate_direction(Y, X, lambda1, lambda2)
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. |
It returns a n*m matrix.