pamr.menu                package:pamr                R Documentation

_A _f_u_n_c_t_i_o_n _t_h_a_t _i_n_t_e_r_a_c_t_i_v_e_l_y _l_e_a_d_s _t_h_e _u_s_e_r _t_h_r_o_u_g_h _a _P_A_M _a_n_a_l_y_s_i_s

_D_e_s_c_r_i_p_t_i_o_n:

     A function that interactively leads the user through a PAM
     analysis

_U_s_a_g_e:

     pamr.menu(data)

_A_r_g_u_m_e_n_t_s:

    data: A list with at least two components: x- an expression genes
          in the rows, samples in the columns), and y-  a vector of the
          class labels for each sample. Same form as data object used
          by pamr.train.

_D_e_t_a_i_l_s:

     'pamr.menu' provides a menu for training, cross-validating and
     plotting a nearest shrunken centroid analysis.

_V_a_l_u_e:

_A_u_t_h_o_r(_s):

     Trevor Hastie, Robert Tibshirani, Balasubramanian Narasimhan, and
     Gilbert Chu

_R_e_f_e_r_e_n_c_e_s:

_E_x_a_m_p_l_e_s:

     set.seed(120)
     x <- matrix(rnorm(1000*20),ncol=20)
     y <- sample(c(1:4),size=20,replace=TRUE)
     mydata <- list(x=x,y=y)
     #  pamr.menu(mydata)

