Description Usage Arguments Details Value Examples
Prepare all the parameters used in lasso problem.
1 2 |
N |
Number of loci |
K |
Number of samples |
g |
Integer-valued ploidy |
par_a |
The constant indicating how ploidy infecting the final copy number profile |
mean_X |
A vector containing mean values of all the recurrent CNV |
a |
A vector containing the coeffient of the effect of the recurrent CNV with respect to the ploidy value |
b |
A vector containing the coeffient of the effect of the recurrent CNV with respect to the constant value |
In this function, we allow users to change the type of CNV happenning before and after WGD, but these changes should be the same for minor and major copies, for this makes interpretation of these changes much easier.
The default one is set to changes before WGD affecting all samples and changes after WGD only affecting samples without WGD. The mean for these changes are set to 0 and -0.5 respectively, for in most samples with WGD are likely to lose one copy after WGD. These should be the best settings for most datasets (if minor and major copies are not considered seperately), adding or changing the types will usually make interpretation much harder.
This function also calculate a multiplicative matrix and step length used in optimization.
a list containing all the parameters used in solving lasso problem
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.