meanSdPlot                package:vsn                R Documentation

_P_l_o_t _r_o_w _s_t_a_n_d_a_r_d _d_e_v_i_a_t_i_o_n_s _v_e_r_s_u_s _r_o_w _m_e_a_n_s

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

     Plot row standard deviations versus row means

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

     meanSdPlot(x, 
                ranks = TRUE,
                xlab  = ifelse(ranks, "rank(mean)", "mean"),
                ylab  = "sd",
                pch   = ".",
                col, ...)

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

       x: An object of class 'matrix' or 'exprSet'

   ranks: Logical, indicating whether the x-axis (means) should be
          plotted on the original scale (FALSE) or on the rank scale
          (TRUE). The latter distributes the data more evenly along the
          x-axis and allows a better visual assessment of the standard
          deviation as a function of  the mean.

    xlab: Character, label for the x-axis.

    ylab: Character, label for the y-axis.

     pch: Plot symbol.

     col: Color of plotted points. See details.

     ...: Further arguments that get passed to plot.default.

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

     Standard deviation and mean are calculated row-wise from the
     matrix 'exprs(x)'. The scatterplot of these versus each other
     allows to visually verify whether there is a dependence of the
     standard deviation (or variance) on the mean. The red dots depict
     the running median estimator (window-width 10%). If there is no
     variance-mean dependence, then the line formed by the red dots
     should be approximately horizontal.

     If the 'preprocessing' slot of the 'description' slot of 'x' is a
     'list' and contains an element named 'vsnTrimSelection', then the
     coloring of the points reflects the trimming that was used in the
     least trimmed sum of squares (LTS) estimation (see 'vsn'). If the
     condition does not apply, and 'col' is 'NULL', the points are
     drawn in black. If 'col' is not 'NULL', its value is used for the
     coloring of the points.

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

     The function is called for its side effect, creating a plot on the
     active graphics device.

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

     Wolfgang Huber <URL: http://www.dkfz.de/abt0840/whuber>

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

     'vsn'

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

       data(kidney)
       exprs(kidney) = log.na(exprs(kidney))

       meanSdPlot(kidney)

       ## ...try this out with non-logged data, the lymphoma data, your data...

