pamr.to.excel              package:pamr              R Documentation

_A _f_u_n_c_t_i_o_n _t_o _w_r_i_t_e _o_u_t _a _d_a_t_a _o_b_j_e_c_t _i_n_t_o _a _t_a_b-_d_e_l_i_m_i_t_e_d _t_e_x_t _f_i_l_e

_D_e_s_c_r_i_p_t_i_o_n:

     A function to write out a data object into a tab-delimited text
     file

_U_s_a_g_e:

     pamr.to.excel(data,file,trace=TRUE)

_A_r_g_u_m_e_n_t_s:

    data: A data object, of the same form as is read in by
          pamr.from.excel. Must have components x (the matrix of
          expression values), y- a vector of class labels for each
          sample, geneid- a vector of gene identifiers and genenames- a
          vector of gene names. Optional components: samplelabels and
          batchlabels, both character vectors

    file: Character name of a text file. 

   trace: Optional argument. If true, progress in writing out file is
          reported. 

_D_e_t_a_i_l_s:

     'pamr.to.excel'  writes out the data object into a tab-delimited
     text file, of the same form as is read in by pamr.from.excel.
     Useful for writing out data that has been imputed by
     pamr.knnimpute or adjusted by pamr.batchadjust. Note- this
     function writes the file out one line at a time, and hence can
     take a while for big datasets.

_A_u_t_h_o_r(_s):

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

