Learn R Programming

drimmR (version 1.0.3)

getTransitionMatrix.dmm: Get transition matrix of the drifting Markov Model

Description

Evaluate the transition matrix of the DMM at a given position

Usage

# S3 method for dmm
getTransitionMatrix(x, pos)

Value

A transition matrix at a given position

Arguments

x

An object of class dmm

pos

A positive integer giving the position along the sequence on which the transition matrix of the DMM should be computed

Author

Victor Mataigne, Alexandre Seiller

References

BaVe2018drimmR Ver08drimmR

See Also

fitdmm

Examples

Run this code
data(lambda, package = "drimmR")
dmm <- fitdmm(lambda, 1, 1, c('a','c','g','t'),init.estim = "freq", fit.method="sum")
t <- 10
getTransitionMatrix(dmm,pos=t)

Run the code above in your browser using DataLab