genotypeEmission         package:VanillaICE         R Documentation

_E_m_i_s_s_i_o_n _p_r_o_b_a_b_i_l_i_t_i_e_s _f_o_r _d_i-_a_l_l_e_l_i_c _g_e_n_o_t_y_p_e _c_a_l_l_s

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

     Emission probabilities for di-allelic genotype calls

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

     genotypeEmission(genotypes, states, probHomCall, probMissing, verbose=TRUE)

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

genotypes: matrix of integers (1=AA, 2=AB, 3=BB, 4=other)

  states: character string of hidden states

probHomCall: numeric: probability of a homozygous genotype call
          specified in the same order as the hidden states

probMissing: numeric: probability of a missing genotype call specified
          in the same order as the hidden states

 verbose: logical

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

     By default, missing genotype calls will be assumed to be
     independent of the hidden state.  This is not always appropriate,
     but is easiest to implement in terms of a default.

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

   array: Array of emission probabilities.  Dimension 1: SNPs,
          Dimension 2: samples, Dimension3: states

