permute                 package:LPE                 R Documentation

_C_a_l_c_u_l_a_t_i_n_g _a_l_l _p_o_s_s_i_b_l_e _p_e_r_m_u_t_a_t_i_o_n_s _o_f _a _v_e_c_t_o_r

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

     Given a vector, all possible combinations of vector are obtained

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

             permute(a)

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

       a: a is any numeric vector.

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

     Used in am.trans. Does all permutations for columns within an
     experimental  condition so that A and M can be calculated for all
     permutations of chips within a treatment.

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

     A vector containing the possible combinations.

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

     J.K. Lee and M.O.Connell(2003). _An S-Plus library for the
     analysis of differential expression_. In The Analysis of Gene
     Expression Data: Methods and Software. Edited by G. Parmigiani, ES
     Garrett, RA Irizarry ad SL Zegar. Springer, NewYork.

     Jain et. al. (2003) _Local pooled error test for identifying
     differentially expressed genes with a small number of replicated
     microarrays_, Bioinformatics, 1945-1951.

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

     'lpe'

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

       # Loading LPE library
       library(LPE)
       
       # A test vector
       permute(1:3)  
       
      # Returns a 2 by 3 matrix 
      #       [,1] [,2] [,3]
      #  [1,]   2    3    1
      #  [2,]   3    1    2

