Mstep: The M-step in the EM algorithm

Description Usage Arguments Value

View source: R/Mstep.R

Description

A function to update the parameters.

Usage

1
Mstep(obs, par.current, e.res)

Arguments

obs

A S by 5 dataframe returned by data.trans function where S is total number of SNPs.

par.current

A list contains the current estimates of parameters.

e.res

A list contains the current results of E-step given by function Estep().

Value

A list contains the updated values of parameters.


JingXieMIZZOU/hmmASE documentation built on Dec. 31, 2019, 12:52 a.m.