idPoints               package:KCsmart               R Documentation

_I_d_e_n_t_i_f_y _p_o_i_n_t_s _i_n _s_a_m_p_l_e _p_o_i_n_t _m_a_t_r_i_x _p_l_o_t

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

     Identify points in sample point matrix plot

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

     idPoints(spm, mode='pos', dev=2, chromosomes=NULL)

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

     spm: The sample point matrix object of which points are to be
          identified 

    mode: Determines which points will be identified: mode='pos' will
          identify points in gained regions, mode='neg' will identify
          points in lost regions 

     dev: The device on which the sample point matrix was plotted

chromosomes: 

     { If not all chromosomes contained in the sample point matrix were
     plotted (using the 'chromosomes' argument in the 'plot' command),
     the same chromosomes must be entered here as an argument}

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

     Using the mouse pointer points in a sample point matrix plot can
     be identified by left-clicking on the to-be-identified points.
     Right-clicking exits the selection and returns the selected
     points.

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

     Returns a data.frame listing the the position and the KC score for
     each identified point. 

 KCscore: KCscore of the identified point

chromosome: Chromosome on which the identified point is located

chromPosition: Position on the chromosome of the identified point

   colin: Co-linear location of the identified point (given the
          selected chromosomes)

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

     Jorma de Ronde

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

     'plot'

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

     data(hsSampleData)
     data(hsMirrorLocs)

     #spm1mb <- calcSpm(hsSampleData, hsMirrorLocs)

     #plot(spm1mb, type=1)
     #idPoints(spm1mb)

     #x11()
     #plot(spm1mb, chromosomes=c(1,2,5))
     #idPoints(spm1mb, mode='neg', dev=3, chromosomes=c(1,2,5))

