dot-initializeMLEs: .initializeMLEs

Description Usage Arguments Value

Description

Helper functions to initialize MLEs in estimatecc().

Usage

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


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