doProbeTTest         package:GeneRegionScan         R Documentation

_D_o _P_r_o_b_e _T-_T_e_s_t

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

     Internal function used to calculate t-tests between probe level
     intensity and pData entries with two levels.

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

         doProbeTTest(object, label, testType="students")

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

  object: A ProbeLevelSet object or a regular ExpressionSet object.

   label: An optional character string specifying a column name in the
          pData of the object. If this argument is given, the gene plot
          will be colour coded based on the different groups (factors)
          in the pData entry. If a summaryType other than 'dots' is
          selected the summarisation is done stratified by the
          different groups in the pData.

testType: Character string, defining a statistic procedure to identify
          especially interesting probes.

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

     This function is not meant to be called by the user. It does the
     statistical calculations when called by plotStatistics

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

     A correlation list with p-value and fold-change in columns and
     probe IDs as rownames. Used by plotStatistics when decorating
     plots from plotOnGene.

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

     Lasse Folkersen

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

     'plotStatistics', 'plotOnGene'

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

             data(exampleProbeLevelSet)
             colnames(pData(exampleProbeLevelSet))
             tTestData<-GeneRegionScan:::doProbeTTest(exampleProbeLevelSet,"gender")
             colnames(tTestData)
             
             #P value for the probe with ID 679083 in relation to "gender"
             print(tTestData["679083","p-value"])

