curvPeaks             package:flowStats             R Documentation

_P_a_r_s_e _c_u_r_v_1_F_i_l_t_e_r _o_u_t_p_u_t

_D_e_s_c_r_i_p_t_i_o_n:

     Parse the output of 'curv1Filter' and find modes and midpoints of
     the high-density regions. This function is considered to be
     internal.

_U_s_a_g_e:

     curvPeaks(x, dat, borderQuant = 0.01, n = 201, from, to, densities=NULL)

_A_r_g_u_m_e_n_t_s:

       x: A 'multipleFilterResult' produced by a 'curv1Filter'
          operation. 

     dat: The corresponding 'flowFrame'. 

borderQuant: A numeric in '[0,1]' giving the extreme quantiles for
          which high-density regions are ignored. 

n, from, to: Arguments are passed on to 'density'. 

densities: The optional y values of the density estimate computed for
          the respective data.

_V_a_l_u_e:

     A list with items

  peaks : x and y locations of the modes of the regions in the density
          estimates. 

regions : the left and right margins of the regions. 

midpoints : the mean of 'regions'. 

regPoints : x and y locations of the outline of the significant density
          regions. 

densFuns : an approximation function of the density estimate 

_A_u_t_h_o_r(_s):

     Florian Hahne

_S_e_e _A_l_s_o:

     'landmarkMatrix'

_E_x_a_m_p_l_e_s:

     data(GvHD)
     tmp <- filter(GvHD[[10]], curv1Filter("FSC-H"))
     res <-  flowStats:::curvPeaks(tmp, exprs(GvHD[[10]])[, "FSC-H"])

