Description Usage Arguments Details Value References Examples
In this function, we fit the fastPHASE hidden Markov model (HMM) using the EM
algorithm. The fastPHASE executable is required to run fast_HMM
. It
can be downloaded from the following web page: http://scheet.org/software.html
1 2 |
X |
genotype matrix |
out_path |
prefix for the fitted parameters filenames. If |
X_filename |
filename for the fastPHASE-formatted genotype file. If
|
fp_path |
path to the fastPHASE executable |
n_state |
dimensionality of the latent space |
n_iter |
number of iterations for the EM algorithm |
Because of the quadratic complexity of the forward algorithm
in terms of the dimensionality of the latent space n_state
, we
recommend setting this parameter to 12. Choosing a higher number does
not result in a dramatic increase of performance. An optimal
choice for the number of iterations for the EM algorithm is between 20
and 25.
Fitted parameters of the fastPHASE HMM. They are grouped in a list
with the following fields: pInit
for the initial marginal
distribution, the three-dimensional array Q
for the transition
probabilities and finally pEmit
, another three-dimensional array
for the emission probabilities
Scheet, P., & Stephens, M. (2006). A fast and flexible statistical model for large-scale population genotype data: applications to inferring missing genotypes and haplotypic phase. American Journal of Human Genetics, 78(4), 629–644.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.