bfile2tmat               package:cosmo               R Documentation

_C_o_n_v_e_r_t_i_n_g _a _M_E_M_E-_s_t_y_l_e _b_a_c_k_g_r_o_u_n_d _f_i_l_e _t_o _a _t_r_a_n_s_i_t_i_o_n _m_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n:

     bfile2tmat converts a MEME-style background file for specifiying
     the background Markov model into a transition matrix.

_U_s_a_g_e:

       bfile2tmat(file) 

_A_r_g_u_m_e_n_t_s:

    file: The MEME-style background file.

_D_e_t_a_i_l_s:

_V_a_l_u_e:

     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.

_N_o_t_e:

_A_u_t_h_o_r(_s):

     Oliver Bembom, bembom@berkeley.edu

_R_e_f_e_r_e_n_c_e_s:

_S_e_e _A_l_s_o:

     'cosmo', 'bgModel'

_E_x_a_m_p_l_e_s:

     ## path to example MEME-style background file
     bfile <- system.file("Exfiles","bfile",package="cosmo")

     tmat <- bfile2tmat(bfile)

