compNorm               package:nnNorm               R Documentation

_C_o_m_p_a_r_e_s _t_h_e _d_i_s_t_r_i_b_u_t_i_o_n _o_f _s_e_v_e_r_a_l _d_a_t_a _s_e_t_s

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

     This function was concieved to easily compare several
     normalization methods in terms  of variability of log-ratios, M.
     Basically it produces two plots: The first is a the density  plot
     of the several matrices passed as arguments, while the second is a
     box plot.  Median of absolute deviations for each method is
     printed on screen.

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

     compNorm(x,...,bw="AUTO",xlim=c(-3,3),titles="AUTO",type="d") 

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

       x: A matrix of numerical values, e.q. the M values of a data
          set: 'maM(swirl)'. 

     ...: An undefined number of objects similar with 'x'. 

      bw: Band width required to compute the density distribution.
          '"AUTO"'  will adjust 'bw' to a suitable value. 

    xlim: The range for abscissa of the density plots.  

  titles: Names to be displayed the charts legend. '"AUTO"' will use
          the matrices names passed as arguments.              . 

    type: If set to '"d"', density plot will be shown; if set to '"d"'
          box plot will be shown. 

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

     This function is used to compare the normalized log ratios M
     obtained with several normalization methods.

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

     NULL, this function only displays charts and prints on the screen
     some statistics.

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

     Tarca, A.L.

_R_e_f_e_r_e_n_c_e_s:

     A. L. Tarca, J. E. K. Cooke, and J. Mackay. Robust neural networks
     approach for spatial and intensity dependent normalization of cDNA
     data. Bioinformatics. 2004,submitted.

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

     'maNormNN'

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

      # Normalize swirl data with two methods
      data(swirl)
      swirlNN<-maNormNN(swirl[,1])
      swirlLoess<-maNormMain(swirl[,1]) 
      nms<-c("None","Loess","NNets")
      #compare distributions: density plot
      compNorm(maM(swirl[,1]),maM(swirlLoess),maM(swirlNN),xlim=c(- 2,2),bw="AUTO",titles=nms,type="d")
      #compare distributions: box plot
      compNorm(maM(swirl[,1]),maM(swirlLoess),maM(swirlNN),xlim=c(- 2,2),bw="AUTO",titles=nms,type="b")

