buildMACAT               package:macat               R Documentation

_C_r_e_a_t_e _M_A_C_A_T _l_i_s_t _f_r_o_m _o_b_j_e_c_t_s _i_n _w_o_r_k_s_p_a_c_e

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

     This is a wrapper around the preprocessedLoader function. Use it, 
     when you want to build a MACAT-list structure from objects already
     in your workspace.

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

     buildMACAT(matrix, chip, labels = NULL)

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

  matrix: expression matrix with rows=genes and columns=samples;
          Rownames have to match chip; Columnnames are not mandatory.

    chip: Identifier for used microarray

  labels: Classlabels for samples, has to have length=number of columns
          in matrix

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

     This is only a convenience wrapper around the function
     'preprocessedLoader' for the case, that you want to build a
     MACAT-list from objects in your workspace.

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

     A MACAT-list structure. For an example and a description of the
     format see data 'stjude' in package 'stjudem'.

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

     MACAT development team

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

     'preprocessedLoader','stjude' in package 'stjudem'

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

      X <- matrix(rnorm(200),nrow=20,ncol=10)
      rownames(X) <- c('34916_s_at','34917_at','34462_at','163_at','35219_at',
             '31641_s_at','33300_at','33301_g_at','38950_r_at','41249_at',
             '294_s_at','32004_s_at','33299_at','41243_at','33341_at','362_at',
             '1918_at','41499_at','41500_at','41282_s_at')
      colnames(X) <- paste("Sample",1:10,sep="")
      y <- rep(c("A","B"),c(5,5))
      toy <- buildMACAT(X,"hgu95av2",y)
      summary(toy)

