| word_probabilities | R Documentation |
Probabilities of a word at several positions of a DMM
word_probabilities(word, pos, x, output_file = NULL, plot = FALSE)
word |
A subsequence (string of characters) |
pos |
A vector of integer positions |
x |
An object of class |
output_file |
(Optional) A file containing the vector of probabilities (e.g,"C:/.../PROB.txt") |
plot |
|
A numeric vector, probabilities of word
Victor Mataigne, Alexandre Seiller
BaVe2018drimmR \insertRefVer08drimmR
fitdmm, getTransitionMatrix, word_probability, words_probabilities
data(lambda, package = "drimmR")
dmm <- fitdmm(lambda, 1, 1, c('a','c','g','t'),
init.estim = "freq", fit.method="sum")
word_probabilities("aggctga",c(100,300),dmm, plot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.