calssim                package:msbase                R Documentation

_S_i_m_i_l_a_r_i_t_y _f_u_n_c_t_i_o_n _f_o_r _c_o_m_p_a_r_i_s_o_n _o_f _t_w_o _p_e_a_k-_l_i_s_t_s.

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

     PLs can be easily aligned if they have many matching peaks and the
     masses of this peaks span a wide mass range. The alignment of two
     PL fails if no matching peaks are found. We describe this
     properties mathematically by the following similarity measure.

        S(A,B)=(sum_(i=1)^n sum_(j=i+1)^(n) |m_j-m_i|^p)^(1/p)

     n is the number of matches and m_i and m_j are the masses of
     matching peaks. The measure computes the sum of all mass
     differences of matching peaks. The power p can be used to weight
     large differences stronger.

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

     calssim(x, p)
     calsrange(x, p)

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

       x: masses of matching peaks

       p: additional parameter

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

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

     similarity between peak-lists

_N_o_t_e:

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

     W.E.Wolski witek96@users.sourceforge.net

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

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

     'cals-methods'

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

