hist-methods               package:xps               R Documentation

_D_e_n_s_i_t_y _E_s_t_i_m_a_t_e

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

     Plot the density estimates for each sample.

     _Usage_

     ' hist(x, which = "", size = 0, transfo = log2, ylab = "density",
     xlab = "log intensity", type = "l", col = 1:6, ...) '

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

       x: object of class 'DataTreeSet' or 'ExprTreeSet'.

   which: type of probes to be used, for details see 'validData'.

    size: length of sequence to be generated as subset.

 transfo: a valid function to transform the data, usually log2, or
          0.

    ylab: a title for the y axis.

    xlab: a title for the x axis.

    type: type for the plot.

     col: colors to use for the different arrays.

     ...: optional arguments to be passed to 'plot'.

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

     Plots the non-parametric density estimates using values contained
     in the columns of  slot 'data'.

     For a 'DataTreeSet' object, data must first be attached using
     method  'attachInten'.

_N_o_t_e:

     For exon array raw data only a limited number of samples can be
     displayed as density plot due to memory limitations. To display
     all samples it is proposed to use function 'root.density' instead.

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

     Christian Stratowa

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

     ## load existing ROOT scheme file and ROOT data file
     scheme.test3 <- root.scheme(paste(.path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
     data.test3 <- root.data(scheme.test3, paste(.path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))

     ## need to attach scheme mask and probe intensities
     data.test3 <- attachMask(data.test3)
     data.test3 <- attachInten(data.test3)

     if (interactive()) {
     hist(data.test3)
     }

     ## optionally remove mask and data to free memory
     data.test3 <- removeInten(data.test3)
     data.test3 <- removeMask(data.test3)

