Class
MarkovModel
Gives a suitable representation of a Marcov Chain.
MarkovModel<TAlphabet,[TFloat, TSpec]>
Parameters
TAlphabet
The alphabet type
TFloat
The type of the exploited arrays
TSpec
The MarkovModel type
Data Members
orderThe MarkovModel order
stationaryDistributionThe vector of character distribution
transitionThe transition matrix
Member Functions
buildGiven a training set, computes the transition matrix, the character stationary distributions and the auxiliary information that give raise to an instance of MarkovModel
emittedProbabilityComputes the probability that a string (or a set of strings) is emitted by the MarkovModel.
MarkovModelConstructor
read Loads an instance of MarkovModel from a file
set Given e transition matrix, sets it as transition matrix of the MarkovModel and computes (if it is not available) the vector of character distributions and the auxiliary information
write Stores an instance of MarkovModel on a file
Functions
expectationComputes the expectation for a set of patterns w.r.t. a set of text strings and a MarkovModel
varianceComputes the variance for a set of patterns w.r.t. a set of text strings and a MarkovModel
zscoreComputes the z-score index for a set of patterns w.r.t. a set of text strings and a MarkovModel
SeqAn - Sequence Analysis Library - www.seqan.de