plot-methods              package:lumi              R Documentation

_P_l_o_t _o_f _a _L_u_m_i_B_a_t_c_h _o_b_j_e_c_t

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

     Creating quality control plots of a LumiBatch object

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

     ## S4 method for signature 'LumiBatch, missing':
     plot(x, what = c("density", "boxplot", "pair", "MAplot", "sampleRelation", "outlier", "cv"), main, ...)

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

       x: a LumiBatch object returned by 'lumiQ' 

    what: one of the six kinds of QC plots 

    main: the title of the QC plot 

     ...: additional parameters for the corresponding QC plots 

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

     The parameter "what" of 'plot' function controls the type of QC
     plots, which includes:

*_d_e_n_s_i_t_y*: the density plot of the chips, see 'hist-methods'

*_b_o_x_p_l_o_t*: box plot of the chip intensities, see 'boxplot-methods'

*_p_a_i_r*: the correlation among chips, plot as a hierarchical tree, see
     'pairs-methods'

*_M_A_p_l_o_t*: the MAplot between chips, see 'MAplot-methods'

*_s_a_m_p_l_e_R_e_l_a_t_i_o_n*: plot the sample relations. See 'plotSampleRelation'

*_o_u_t_l_i_e_r*: detect the outliers based on the sample distance to the
     center. See  'detectOutlier'

*_c_v*: the density plot of the coefficients of variance of the chips.
     See 'estimateLumiCV'

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

     'LumiBatch-class', 'hist-methods', 'boxplot-methods',
     'MAplot-methods', 'pairs-methods', 'plotSampleRelation',
     'estimateLumiCV', 'detectOutlier'

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

     ## load example data
     data(example.lumi)

     ## Quality control estimation
     lumi.Q <- lumiQ(example.lumi)

     ## summary
     summary(lumi.Q)

     ## plot the density
     plot(lumi.Q, what='density')

     ## plot the pairwise sample correlation
     plot(lumi.Q, what='pair')

     ## plot the pairwise MAplot
     plot(lumi.Q, what='MAplot')

     ## sample relations
     plot(lumi.Q, what='sampleRelation', method='mds', color=c('100US', '95US:5P', '100US', '95US:5P'))

     ## detect outlier based on the distance to the mean profile
     plot(lumi.Q, what='outlier')

     ## Density plot of coefficient of variance
     plot(lumi.Q, what='cv')

