commonMap               package:made4               R Documentation

_H_i_g_h_l_i_g_h_t _c_o_m_m_o_n _p_o_i_n_t_s _b_e_t_w_e_e_n _t_w_o _1_D _p_l_o_t_s

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

     CommonMap draws two 1D plots, and links the common points between
     the two.

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

     commonMap(x, y, hor=TRUE, cex=1.5, scaled=TRUE, ...)

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

       x: The coordinates of the first axis 

       y: The coordinates of the second axis

     hor: Logical, whether a horizontal line should be drawn on plot.
          Default is TRUE.

     cex: Numeric. The amount by which plotting text and symbols should
          be scaled relative to the default 

  scaled: Logical, whether the data in x and y are scaled. Scaling is
          useful for  visualising small or large data values. Set to
          FALSE if actually or true values should  be visualised. The
          default is TRUE.

     ...: further arguments passed to or from other method 

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

     Useful for mapping the genes in common from coinertia analysis 
     This graphs a 1D graph, x and y are the coordinates from two
     different analyses but the rows of each vectors correspond (ie
     common genes)

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

_N_o_t_e:

     This is useful for examining common points in axes from coinertia
     analysis, or comparing results  from two different analysis.

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

     Ailis Fagan and Aedin Culhane

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

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

     See also 'between.graph',  'graph1D'

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

     a<-rnorm(20)
     b<-rnorm(20)
     par(mfrow=c(2,2))
     commonMap(a,b)
     commonMap(a,b,hor=FALSE, col="red", pch=19)
     commonMap(a,b,col="blue", cex=2, pch=19)

     # If the vectors contain different variables, the rows should define the variables that correspond
     a[15:20]<-NA
     b[10:15]<-NA
     cbind(a,b)
     commonMap(a,b, col="dark green", pch=18)

