scaleColorBar            package:ABarray            R Documentation

_C_r_e_a_t_e _s_c_a_l_e _f_o_r _h_e_a_t_m_a_p

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

     Create a bar for heatmap scales

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

     scaleColorBar(x, horizontal = FALSE, col = rgcolorsfunc(50), scale = 1:length(x), 
         k = 10, cLen = 9, ...) 

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

       x: vector of scales need to be plotted 

horizontal: whether the bar is vertical or horizontal 

     col: color function 

   scale: scale of the bar 

       k: number of intervals on scale 

    cLen: length of columns 

     ...: additional arguments 

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

     none

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

     Yongming Sun

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

     ##--- Do not call this function directly !! ----

