dot-initialize_theta: .initialize_theta

.initialize_thetaR Documentation

.initialize_theta

Description

Creates a container with initial theta parameter estimates

Usage

.initialize_theta(n, K, alpha0 = NULL, alpha1 = NULL, sig0 = NULL,
  sig1 = NULL, tau = NULL)

Arguments

n

Number of samples

K

Number of cell types

alpha0

Default NULL. Initial mean methylation level in unmethylated regions

alpha1

Default NULL. Initial mean methylation level in methylated regions

sig0

Default NULL. Initial var methylation level in unmethylated regions

sig1

Default NULL. Initial var methylation level in methylated regions

tau

Default NULL. Initial var for measurement error

Value

A data frame with initial parameter estimates to be used in .initializeMLEs().


stephaniehicks/methylCC documentation built on Nov. 6, 2022, 5:51 p.m.