plotSimilarity             package:maDB             R Documentation

_D_r_a_w _a _p_l_o_t _f_o_r _t_h_e _S_i_m_i_l_a_r_i_t_y-_c_l_a_s_s

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

     This function draws the similarity plot for the 'Similarity-class'
     objects. Basically it draws the template vector and the 5 rows of
     the data matrix with the smalles distance to the template in a
     plot.

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

     plotSimilarity(ids, distances, data, template, restrict.to = min(5, length(data[, 1])), template.id = "custom", legend = TRUE, ...)

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

     ids: A list with the ids (rownames of the data matrix).

distances: The vector with the distances (each row of the data matrix
          to the template vector).

    data: The data matrix (the expression or regulation patterns of a
          set of genes over a set of samples).

template: The template vector (the expression or regulation pattern of
          a gene over a set of samples).

restrict.to: How many patterns should be drawn. By default the 5
          patterns with the smalles distance to the template pattern
          will be drawn.

template.id: The template gene id.

  legend: If a legend should be drawn.

     ...: additional parameters.

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

     A plot of best matching gene expression or regulation patterns.

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

     Johannes Rainer

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

     'Similarity-class'

