plotDistances           package:beadarray           R Documentation

_P_l_o_t _t_h_e _d_i_s_t_a_n_c_e_s _b_e_t_w_e_e_n _a _s_e_t _o_f _c_o-_o_r_d_i_n_a_t_e_s

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

     The function calculates the distance matrix for a set of
     co-ordinates and plots in the form of a histogram. The input
     co-ordinates could be the co-ordinates  for a particular bead type
     on an array.

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

     plotDistances(coords)

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

  coords: n by 2 vector where first column is list of x co-ordinates
          and second column is list of y co-ordinates 

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

     A histogram is produced with the mean of the distance matrix
     indicated in red. A normal distribution with mean = 650 and sd
     =350 is overlayed.

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

     Plot is produced on the current graphical device

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

     Mark Dunning

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

     'getProbeCoords'

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

     data(BLData)
     co=getProbeCoords(BLData, 2, 1)
     plotDistances(co)

