dot-methylcc_estep: Expectation step

Description Usage Arguments Value

Description

Expectation step in EM algorithm for methylCC

Usage

1
.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()


methylCC documentation built on Nov. 8, 2020, 7:35 p.m.