pool                package:snpMatrix                R Documentation

_P_o_o_l _t_e_s_t _r_e_s_u_l_t_s _f_r_o_m _s_e_v_e_r_a_l _s_t_u_d_i_e_s _o_r _s_u_b-_s_t_u_d_i_e_s

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

     Given the same set of "score" tests carried out in several studies
     or in several different sub-samples within a study, this function
     pools the evidence by summation of the score statistics and score
     variances. It combines tests produced by 'single.snp.tests' or by
     'snp.lhs.tests' and 'snp.rhs.tests'.

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

     pool(..., score = FALSE)

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

     ...: Objects holding the (extended) test results.  These must be
          of class 'snp.tests.single.score' or 'snp.tests.glm' 

   score: Is extended score information to be returned in the output
          object? Relevant only for 'snp.tests.single.score' objects

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

     This function works by recursive calls to the generic function 
     'pool2' which pools the results of two studies.

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

     An object of same class as the input objects (optionally without
     the '.score') extension. Tests are produced for the _union_ of
     SNPs tested in all the input objects.

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

     David Clayton david.clayton@cimr.cam.ac.uk

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

     'pool2', 'snp.tests.single.score-class', 'snp.tests.glm-class',
     'single.snp.tests', 'snp.lhs.tests', 'snp.rhs.tests'

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

     # An artificial example which simply doubles the size of a study
     library(snpMatrix)
     data(testdata)
     sst <- single.snp.tests(snp.data=Autosomes, cc, data=subject.data,
              score=TRUE)
     sst2 <- pool(sst, sst)
     summary(sst2)

