score_fun                package:xcms                R Documentation

_S_c_o_r_i_n_g _f_o_r _M_S/_M_S _s_p_e_c_t_r_a

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

     A similarity scoring function for MS/MS spectra against a
     reference.

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

     score_fun(ref, exp, ppmval)

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

     ref: An array of numbers for the refference

     exp: An array of numbers for the test

  ppmval: Error to match to in ppm

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

     A simple scoring function to score two arrays of numbers and give
     a percentage match between the two. Uses a a distance and
     similarity matrix score system. When the two scores are calculated
     the percentage score is calculated from the theoritical maximum
     score and the theoritical minimum score.

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

   score: Percentage score between the two arrays

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

     H. Paul Benton, hpbenton@scripps.edu

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

     H. Paul Benton, D.M. Wong, S.A.Strauger, G. Siuzdak "XCMS^2:"
     Analytical Chemistry 2008

