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"])

