ibsDist              package:snpMatrix              R Documentation

_D_i_s_t_a_n_c_e _m_a_t_r_i_x _b_a_s_e_d _o_n _i_d_e_n_t_i_t_y _b_y _s_t_a_t_e (_I_B_S)

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

     Expresses a matrix of IBS counts (see 'ibsCount') as a distance
     matrix. The distance between two samples is returned as the
     proportion of allele comparisons which are _not_ IBS.

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

     ibsDist(counts)

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

  counts: A matrix of IBS counts as produced by the function 'ibsCount'

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

     An object of class '"dist"' (see 'dist')

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

     David Clayton david.clayton@cimr.cam.ac.uk

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

     'ibsCount', 'dist'

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

     data(testdata)
     ibs <- ibsCount(Xchromosome)
     distance <- ibsDist(ibs)

