detectOutlier              package:lumi              R Documentation

_D_e_t_e_c_t _t_h_e _o_u_t_l_i_e_r _s_a_m_p_l_e (_o_r _g_e_n_e)

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

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

     detectOutlier(x, metric = "euclidean", standardize = TRUE, Th = 2, ifPlot = FALSE)

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

       x: a LumiBatch object, ExpressionSet object or a matrix with
          each column corresponding to a sample or other profile 

  metric: the distance matric

standardize: standardize the profile or not 

      Th: the threshold of outlier,  

  ifPlot: to plot the result (as a hierarchical tree) or not 

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

     The current outlier detection is based on the distance from the
     sample to the center (average of all samples). The assumption of
     the outlier detection is that there is only one single cluster and
     the distance from the sample to the center is Gaussian
     distributed.

     The outlier is detected when its distance to the center is larger
     than a certain threshold. The threshold is calculated as Th *
     median distances to the center.

     The profile relations can be visualized as a hierarchical tree.

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

     Plot the results or     return the outlier (a logic vector) with
     the distance matrix and threshold as attributes.

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

     Pan Du

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

     'lumiQ'

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

     ## load example data
     data(example.lumi)

     ## detect the outlier (Further improvement needed.)
     temp <- detectOutlier(example.lumi, ifPlot=TRUE)

