.methylcc_estep {methylCC} | R Documentation

## Expectation step

### Description

Expectation step in EM algorithm for methylCC

### Usage

    .methylcc_estep(Ys, Zs, current_pi_mle, current_theta, meth_status = 0)

### Arguments

`Ys` | observed methylation levels in samples provided by user of dimension R x n
`Zs` | Cell type specific regions of dimension R x K
`current_pi_mle` | cell composition MLE estimates of dimension K x n
`current_theta` | other parameter estimates in EM algorithm
`meth_status` | Indicator function corresponding to regions that are unmethylated (meth_status=0) or methylated (meth_status=1)

### Value

List of expected value of the first two moments of the random effects (or the E-Step in the EM algorithm) used in `.methylcc_engine()`

[Package methylCC version 1.0.0 Index]