Description Usage Arguments Value
Samples a sequence of binary emissions (Y[i] = 1 is interpreted as, “Heterozygous sites at position i”; whereas Y[i] = 0 is interpreted as signifying homozugosity.)
1 | sample_YgivenX(X, theta, M)
|
X |
a vector of integers encoding the states of the hidden variables |
theta |
the rate of mutation between two sequences |
M |
the number of states of the hidden variables X |
A vector of the same length as X
s.t. Y[i] = 1 with
probability mu[X[i]]
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.