Description Usage Arguments Value
Helper functions to initialize
MLEs in estimatecc()
.
1 2 | .initializeMLEs(init_param_method, n, K, Ys, Zs, a0init, a1init, sig0init,
sig1init, tauinit)
|
init_param_method |
method to initialize parameter estimates. Choose between "random" (randomly sample) or "known_regions" (uses unmethyalted and methylated regions that were identified based on Reinus et al. (2012) cell sorted data.). Defaults to "random". |
n |
Number of samples |
K |
Number of cell types |
Ys |
observed methylation levels in samples provided by user of dimension R x n |
Zs |
Cell type specific regions of dimension R x K |
a0init |
Default NULL. Initial mean methylation level in unmethylated regions |
a1init |
Default NULL. Initial mean methylation level in methylated regions |
sig0init |
Default NULL. Initial var methylation level in unmethylated regions |
sig1init |
Default NULL. Initial var methylation level in methylated regions |
tauinit |
Default NULL. Initial var for measurement error |
A list of MLE estimates to be used in estimatecc()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.