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:

