bfile2tmat {cosmo} | R Documentation |
bfile2tmat converts a MEME-style background file for specifiying the background Markov model into a transition matrix.
bfile2tmat(file)
file |
The MEME-style background file. |
The estimated transition matrix for the background Markov model. This is a list of matrices, with the first matrix given the transition probabilities for the 0th order Markov model, the second matrix giving the transition probabilities for a 1st order Markov model, and so on.
Oliver Bembom, bembom@berkeley.edu
## path to example MEME-style background file bfile <- system.file("Exfiles","bfile",package="cosmo") tmat <- bfile2tmat(bfile)