dovote                package:GolubRR                R Documentation

_C_o_m_p_u_t_e _t_h_e _w_e_i_g_h_t_e_d _v_o_t_e _f_o_r _t_h_e _s_u_p_p_l_i_e_d _s_a_m_p_l_e.

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

     The per group votes, the prediction strength (PS) and which group
     was selected are computed for a given sample, using an object of
     class 'vstruct'.

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

     dovote(x, vstr)

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

       x: A vector of gene expressions for some samples. 

    vstr: An object of class 'vstruct' that describes the reference
          set. 

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

     The various test statistics required for the weighted voting
     algorithm are computed for the given vector of gene expressions.
     The results are returned in a list.

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

     A list containing: 

     PS : The prediction strength

   vAML : The weighted votes for AML.

   vALL : The weighted votes for ALL.

     wh : The class (either ALL or AML) that the vote is cast for.

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

     R. Gentleman

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

     Molecular Classification of Cancer: Class Discovery and Class
     Prediction by  Gene Expression Monitoring, Science, 531-537, 1999,
     T. R. Golub and D. K. Slonim and P. Tamayo and C. Huard and M.
     Gaasenbeek and J. P. Mesirov and H. Coller and M.L. Loh and J. R.
     Downing and M. A. Caligiuri and C. D. Bloomfield and E. S. Lander

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

     'vstruct'

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

        library(golubEsets)
        vs <- vstruct(golubTest[1:20,], golubTest$ALL)
        vts <- dovote(exprs(golubTrain)[1:20,1], vs)

