Genotypes.parm.Rd
This function obtains the HMM parameters from a fastPHASE genotype model
Genotypes.parm(p)
p | number of nodes |
---|
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.
The first p variables also follow a HMM.
Sesia M, Sabatti C, Candès EJ (2019). “Gene hunting with hidden Markov model knockoffs.” Biometrika, 106, 1--18. doi: 10.1093/biomet/asy033 .
Other models:
HMM.parm()
,
gen.Y()