Genotypes.parm: Obtain parameters from a fastPHASE genotype model

Description Usage Arguments Details Value References See Also

View source: R/gen.R

Description

This function obtains the HMM parameters from a fastPHASE genotype model

Usage

1

Arguments

p

number of nodes

Details

The first p variables also follow a HMM.

Value

A list containing pInit: a vector of K_st, which gives the marginal probabilities of the first variable; Q: an array of size (p-1, K_st, K_st), which gives the p-1 transition matrices of the hidden Markov chain; pEmit: an array of size (p, M, K_st), which is the emission probability matrix.

References

\insertRef

sesia2019floodgate

See Also

Other models: HMM.parm(), gen.Y()


LuZhangH/floodgate documentation built on Aug. 30, 2020, 2:10 a.m.