masterSnps              package:GGtools              R Documentation

_v_i_s_u_a_l_i_z_e _a _m_u_l_t_i_G_w_S_n_p_S_c_r_e_e_n_R_e_s_u_l_t

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

     visualize a multiGwSnpScreenResult

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

     masterSnps(mgw, n = 50, auto = TRUE, orgdb = "org.Hs.eg.db", minl10 = 5, 
     gstart = 0, gend = 3e+09,
     genomesize = 3e+09, pcex = 1, pal = rainbow(20), numxax=FALSE, ...)

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

     mgw: a multiGwSnpScreenResult, for example from gwSnpTests with a
          GeneSet on lhs of formula 

       n: number of best snps to retain per gene

    auto: restrict attention to autosomes? 

   orgdb: an annotation library like org.Hs.eg.db 

  minl10: threshold of -log10 p above which we keep SNP for plotting

  gstart: position at which genome-wide SNP locations begin

    gend: position at which genome-wide SNP locations end

genomesize: number of bases over which plotting will be conducted
          (e.g., ylim=c(0, genomesize) ) 

    pcex: cex setting for pch of plot 

     pal: a palette to differentiate gene coloring 

  numxax: logical: if TRUE, x axis labels genomic coordinates,
          otherwise chromosome 

     ...: args passed to plot() 

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

     experimental display with snp location as ordinate and gene
     location as abscissa - point plotted if snp is associated with
     gene at p smaller than the threshold specified

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

     a list with self-describing elements

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

     VJ Carey <stvjc@channing.harvard.edu>

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

     if (require("GGdata")) {
      data(fheadFits)
      mm7 = masterSnps(fheadFits, minl10=7, pal=rainbow(10))
      }

