regmap                  package:reb                  R Documentation

_i_m_a_g_e _f_u_n_c_t_i_o_n _w_r_a_p_p_e_r

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

     A simple wrapper around the image function

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

     regmap(m,scale=c(-6,6),na.color=par("bg"),...)

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

       m: a matrix

   scale: Include a graph scale showing this range of values image
          function

na.color: the color to draw over NA values

     ...: additional paramters to \sQuote(image

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

     A small wrapper around the image function to display genome
     region summary statistics. Additional parameters will be passed
     along to the image function.  

     The scale argument is a two-element vector that provides a floor
     and ceiling for the matrix and allows a crude scale bar to be
     included on the lower potion of the graph. 

     For other colors consider using the geneplotter (dChip.colors) or
     marrayPlots (maPalette) library functions (i.e.
     regmap(m,col=dChipColors(50)))

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

_N_o_t_e:

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

     Kyle A. Furge

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

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

     'image','summarizeByRegion'

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

        m <- matrix(rnorm(6*4),ncol=6)
        colnames(m) <- c(1:6)
        rownames(m) <- c("1p","1q","2p","2q")
        regmap(m,scale=c(-1,1))

