Description Usage Arguments Value Examples
update_trans
updates trans
once.
1 | update_trans(num, H)
|
num |
number of chain |
H |
list of matrix H |
A vector of length 3, the updated paratemter and fval c(v'[k], m'[k], fval)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | df <- uORF[1:2]
X <- H <- list()
E <- c()
for (i in 1:2){
X[[i]] <- df[[i]]$x
RNA <- df[[i]]$RNA
E[i]=df[[i]]$E; trans=df[[i]]$trans;
a=df[[i]]$v; b=df[[i]]$v/df[[i]]$m
la <- forwardAlg(X[[i]], RNA, trans, a, b, E[i])
lb <- backwardAlg(X[[i]], RNA, trans, a, b, E[i])
H[[i]] <- computeH(X[[i]], RNA, trans, a, b, E[i], la, lb)
}
update_trans(length(df), H)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.