genotypeSummary         package:GeneticsBase         R Documentation

_p_r_i_n_t _t_h_e _s_u_m_m_a_r_y _o_f _g_e_n_o_t_y_p_e_s _s_o_r_t_e_d _b_y _m_a_r_k_e_r_s

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

     print the summary of genotypes sorted by markers

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

     genotypeSummary(object, 
                     by = NULL, 
                     confidence = 0.95, 
                     alpha = 1 - confidence, 
                     show = TRUE, 
                     HWE.method = c("simulate", "exact"), 
                     simulate.p.value = TRUE, 
                     B = 10000, 
                     verbose = FALSE, 
                     includeOverall = FALSE, 
                     omitRepeats = TRUE, 
                     founderOnly = FALSE, 
                     ...)

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

  object: geneSet object 

      by: optional column name, by which the summary is desired.
          Default is NULL. 

confidence: confidence intervals of Genotype frequencies within each
          marker (default is 95%) 

   alpha: Type -1 error rate = (1- confidence) 

    show: No longer used 

HWE.method: Method to be used for Hardy-Weinberg Equilibrium
          Significance Test, exact or simulate 

simulate.p.value: No longer used 

       B: No longer used 

 verbose: No longer used

includeOverall: logical value (TRUE/FALSE) indicating whether overall
          summary is also needed, default = FALSE 

omitRepeats: logical value (TRUE/FALSE) indicating whether Gene name
          and marker name should be printed repeatedly for each
          Genotype, default = TRUE 

founderOnly: logical value (TRUE/FALSE) indicating whether founder
          information should be extracted from the geneSet object,
          default = FALSE 

     ...: any further arguments to print

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

     We can print the genotypeSummary on screen, or save in .html
     format or .tex format

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

     Nitin Jain nitin.jain@pfizer.com

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

     library(GeneticsBase)
     data(CAMP)

     temp <- genotypeSummary(CAMP)

     print(temp)
     txt(temp, filename="genotypeSummary.txt")
     html(temp, filename="genotypeSummary.html")
     latex(temp, filename="genotypeSummary.tex")

