.initializeMLEs {methylCC} | R Documentation

## .initializeMLEs

### Description

Helper functions to initialize MLEs in `estimatecc()`.

### Usage

    .initializeMLEs(init_param_method, n, K, Ys, Zs, a0init, a1init, sig0init,
      sig1init, tauinit)

### Arguments

`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

### Value

A list of MLE estimates to be used in `estimatecc()`.

[Package methylCC version 1.6.0 Index]