deGenes2by2Ttest         package:maigesPack         R Documentation

_F_u_n_c_t_i_o_n _t_o _d_o _d_i_f_f_e_r_e_n_t_i_a_l _e_x_p_r_e_s_s_i_o_n _a_n_a_l_y_s_i_s, _c_o_m_p_a_r_i_n_g _o_n_l_y _t_w_o
_s_a_m_p_l_e_s

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

     This function takes an object of class 'maiges' and do
     differential expression analysis for the genes onto dataset,
     comparing only two samples, by t test.

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

     deGenes2by2Ttest(data=NULL, sLabelID=names(data@Slabels)[1], sTypeComp=NULL,
                      doClust=TRUE, ...)

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

    data: object of class 'maiges'.

sLabelID: character string giving the sample label ID to be used.

sTypeComp: list with character vectors specifying the two sample types
          to be compared.

 doClust: logical indicating if the object generated from this analysis
          will be used for cluster analysis. Defaults to TRUE.

     ...: additional parameters for function 't.test'.

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

     This function calculate t statistics and p-values for the test of
     difference in the means of the groups using the function 't.test'.

     There are other two functions, 'deGenes2by2Wilcox' and
     'deGenes2by2BootT', to do non-parametric tests by the Wilcox test
     an t statistic bootstrap, respectively.

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

     The result of this function is an object of class 'maigesDE' if
     'doClust' if FALSE or of class 'maigesDEcluster' if it is TRUE.

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

     Gustavo H. Esteves <gesteves@vision.ime.usp.br>

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

     't.test', 'deGenes2by2Wilcox' and 'deGenes2by2BootT'.

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

     ## Loading the dataset
     data(gastro)

     ## Doing t test fot 'Type' sample label
     gastro.ttest = deGenes2by2Ttest(gastro.summ, sLabelID="Type")
     gastro.ttest

