showHilbertImage         package:HilbertVis         R Documentation

_d_i_s_p_l_a_y _a _h_i_l_b_e_r_t

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

     A convenient wrapper around 'levelplot' to display a hilbert image
     matrix as it is returned by 'hilbertImage'. Alternatively to
     'levelplot', 'EBImage' is available as well.

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

     showHilbertImage( mat, 
        palettePos = colorRampPalette(c("white", "red"))(300), 
        paletteNeg = colorRampPalette(c("white", "blue"))(300), 
        maxPaletteValue = max(abs(mat)), 
        mode = c("lattice", "EBImage", "EBImage-batch") )

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

     mat: The matrix to be displayed. In principle this can be any
          matrix,  but typically, it is one returned by 'hilbertImage'. 

palettePos: The colour palette to be used for the positive entries in
          'mat' (including 0). 

paletteNeg: The colour palette to be used for the negative entries in
          'mat'. 

maxPaletteValue: The absolute value to which the right end of the
          palettes should correspond.  (The left ends correspond to 0.) 

    mode: For mode "lattice", the function 'levelplot' from the
          'lattice' package is used. An (invisible) lattice object is
          returned that can be displayed with 'show'. In interactive
          mode, the image is displayed automatically. For mode
          "EBImage" the image is displayed with the 'EBImage' package,
          and for "EBImage-batch", the same image is  produced and not
          displayed but rather returned as a value suitable to be
          passed to EBImage's 'display' function. 

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

     A lattice or EBImage graphics object. For all modes except
     ``EBImage-batch'' it is marked ``invisible''.

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

     Simon Anders, EMBL-EBI (sanders\@fs.tum.de)

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

     'hilbertImage'

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

       # See ?hilbertImage for examples.

