GetColor package:geneplotter R Documentation _A _f_u_n_c_t_i_o_n _t_o _g_e_t _t_h_e _R_e_d-_B_l_u_e _c_o_l_o_r _s_c_h_e_m_e _u_s_e_d _b_y _d_C_h_i_p _D_e_s_c_r_i_p_t_i_o_n: A simple, vectorized function that computes a Red/Blue color for plotting microarray expression data. _U_s_a_g_e: GetColor(value, GreenRed=FALSE, DisplayRange=3) dChip.colors(n) greenred.colors(n) _A_r_g_u_m_e_n_t_s: value: The vector of expression values. GreenRed: If 'TRUE' the Green-Red colors are produced, otherwise Red-Blue are procduced. DisplayRange: A parameter controlling the range of 'value''s that will be plotted. n: An integer saying how many colors to be in the palette. _D_e_t_a_i_l_s: 'GetColor' is a simple mapping into RGB land provided by Cheng Li. 'dChip.colors' provides functionality similar to that of 'topo.colors' for the red-blue colors used for genome plots. 'greenred.colors' does the same for the green-black-red gradient. _V_a_l_u_e: A vector of RGB colors suitable for plotting in R. _A_u_t_h_o_r(_s): R. Gentleman, based on an original by C. Li. _E_x_a_m_p_l_e_s: set.seed(10) x <- rnorm(10) GetColor(x) dChip.colors(10)