latEDtable                package:edd                R Documentation

_u_s_e _l_a_t_e_x _t_a_g_s _f_o_r _d_i_m_n_a_m_e_s _o_f _t_a_b_l_e _c_r_e_a_t_e_d _f_r_o_m _e_d_d _c_l_a_s_s_i_f_i_c_a_t_i_o_n

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

     use latex tags for dimnames of table created from edd
     classification

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

     latEDtable(x, baselist=eddDistList, reorder=NULL)

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

       x: x - a table (possibly two dimensional) of results of applying
          edd

baselist: baselist - a list of eddDist objects

 reorder: reorder - a numeric vector describing how to re order the
          table rows/columns

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

     for use with xtable rendering.  table will give results with
     margin names in lexicographic order; reorder can be used to get a
     different order.

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

     a matrix with dimnames computed from the latexTag slots of the
     corresponding eddDist objects

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

     Vince Carey <stvjc@channing.harvard.edu>

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

     require(Biobase)
     data(eset)
     # should filter to genes with reasonable variation
     rawTab <- table( edd(eset, meth="nnet", size=10, decay=.2) )
     latEDtable(rawTab)
     library(xtable)
     xtable(latEDtable(rawTab))
     #
     realTags <- sapply(eddDistList,tag)
     reo <- match(realTags,names(rawTab))
     xtable(latEDtable(rawTab,reorder=reo))

