Description Usage Arguments Value
View source: R/calculate_direction.R
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.
1 | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.