Description Usage Arguments Value Examples
generate_ribo
generates a single trajecture of observed chain x.
1 | generate_ribo(eL, eH, v, E, p1, p2)
|
eL |
a vector. Expected lengths of (5U, uE, 5U2, E, 3U). |
eH |
a vector. Expected heights of (5U, uI, uE, uT, 5U2, I, E, T, 3U). This is the mean parameter in gamma distribution. |
v |
a vector. Shape parameter in gamma distribution. |
E |
a scalar. Normalizing constant for the observed chain x. |
p1 |
a scalar. Probability of uORF is translated. |
p2 |
a scalar. Probability of main region is translated. |
A list:
z_base: a vector. Hidden chain z
z : a vector. Hidden chain z
x : a vector. Observed chain x
RNA : a 0-1 vector. 1 if next 3-base is stop codon
m : a vector. mean parameter in gamma distribution for each state
v : a vector. Shape parameter in gamma distribution.
E : a scalar. Normalizing constant for the observed chain x
p1, p2
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.