plot.smooth.line             package:sma             R Documentation

_A_d_d_i_n_g _L_o_w_e_s_s _L_i_n_e_s _t_o _C_u_r_r_e_n_t _P_l_o_t

_D_e_s_c_r_i_p_t_i_o_n:

     This function adds a 'lowess' line to the current plot.  The  type
     of line can be specified as well as other parameters.

_U_s_a_g_e:

     plot.smooth.line(x, M, f=0.1, ...)

_A_r_g_u_m_e_n_t_s:

       x: a vector giving the x-coordinates of the points in the
          scatter plot. In the microarray context, this could be a
          vector of average log intensities. ie A

       M: a vector giving the y-coordinates of the points in the
          scatter plot. In the microarray context, this could be a
          vector of log intensity ratios.

       f: the smoother span. This gives the proportion of points in the
          plot which influence the smoothness at each value. Larger
          values give greater smoothness. 

     ...: graphical parameters may also be supplied as arguments to the
          function (see 'par').

_V_a_l_u_e:

     lines are added to the current plot.

_N_o_t_e:

     An M vs A plot must be constructed *prior* to the execution of
     this function.

_R_e_f_e_r_e_n_c_e_s:

     Chambers, J. M., Cleveland, W. S., Kleiner, B. and Tukey, P. A.
     (1983). Graphical Methods for Data Analysis. Wadsworth, Belmont,
     California.

_S_e_e _A_l_s_o:

     'plot.mva', 'stat.ma', 'lines', 'lowess', 'smooth'.

_E_x_a_m_p_l_e_s:

     data(MouseArray)
     ## mouse.setup <- init.grid()
     ## mouse.data <- init.data()

     plot.mva(mouse.data, mouse.setup)
     plot.smooth.line(mouse.lratio$A, mouse.lratio$M)

