hmo_xsax | R Documentation |
Motif discovery using xsax doi:10.1007/s10618-007-0064-z
hmo_xsax(a, w, qtd)
a |
alphabet size |
w |
word size |
qtd |
number of occurrences to be classified as motifs |
hmo_xsax
object
library(daltoolbox)
#loading the example database
data(examples_motifs)
#Using sequence example
dataset <- examples_motifs$simple
head(dataset)
# setting up motif discovery method
model <- hmo_xsax(37, 3, 3)
# fitting the model
model <- fit(model, dataset$serie)
detection <- detect(model, dataset$serie)
# filtering detected events
print(detection[(detection$event),])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.