density-methods             package:lumi             R Documentation

_D_e_n_s_i_t_y _p_l_o_t _o_f _a _E_x_p_r_e_s_s_i_o_n_S_e_t _o_b_j_e_c_t

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

     Creating density plot of sample intensities in a ExpressionSet
     object. It is equivalent to hist-methods.

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

     ## S4 method for signature 'ExpressionSet':
     density(x, logMode=TRUE, xlab = NULL, ylab = "density", type = "l", 
             col=1:dim(x)[2], lty=1:dim(x)[2], lwd=1, xlim = NULL, index.highlight = NULL, color.highlight = 2, 
             symmetry = NULL, addLegend = TRUE, subset = 5000, seed = 123, ...)

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

       x: a 'ExpressionSet' object

 logMode: determine whether the density plot is based on a log2 scale 

    xlab: xlab of the density plot 

    ylab: ylab of the density plot 

    type: parameter of plot function 

     col: line colors of the density plot 

     lty: line types of the density plot 

     lwd: line width of plot function 

    xlim: parameter of the plot function

index.highlight: the column index of the highlighted density curve 

color.highlight: color of highlighted density curve 

symmetry: the boundary position suppose to be symmetric distributed  

addLegend: whether add legend to the plot or not 

  subset: subset of rows used to plot. It can be an index vector, or
          the length of a random subset

    seed: the random seed for random subset

     ...: additional parameters for 'density' function 

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

     'LumiBatch-class', hist-methods, 'density'

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

     ## load example data
     data(example.lumi)

     density(example.lumi)

