Description Usage Arguments Value Examples
forwardAlg
performs the forward algorithm on a single trajecture of observed chain x.
a (in log scale), where a[k,t] = P(Z[t]=k, x[1:t])
1 | forwardAlg(x, RNA, trans, alpha, beta, E)
|
x |
a vector of observed states |
RNA |
a 0-1 vector. 1 if next 3-base is stop codon |
trans |
a vector c(rho_u, rho, delta) |
alpha |
shape parameter in gamma distribution |
beta |
rate parameter in gamma distribution |
E |
a scalar. Normalizing constant for the observed chain x. |
A matrix, a (in log scale).
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.