paintCytobands          package:quantsmooth          R Documentation

_P_a_i_n_t _a _c_h_r_o_m_o_s_o_m_a_l _i_d_i_o_g_r_a_m

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

     Paints a human chromosomal idiogram in an existing plot Adapted
     from the paint.chromosome function in the lodplot package by David
     L Duffy

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

     paintCytobands(chrom, pos = c(0, 0), units = c("cM", "bases", "ISCN"), width = 0.4,
                 length.out, bands = "major", orientation = c("h","v"), legend = TRUE,
                 cex.leg = 0.7, bleach = 0, ...)

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

   chrom: chromosomal id, chromosome to plot 1:22,X,Y

     pos: numeric vector of length 2, position in the plot to start the
          plot

   units: units along which to plot the chromosome

   width: numeric, width of the chromosome, the chromosome is plotted
          between 'pos[2]' and 'pos[2]-width'

length.out: numeric, if given, the chromosome will have this length in
          the plot

   bands: if not equal to "major", then also the minor bands will be
          plotted

orientation: chromosome is plotted either _H_orizontally to the right
          of  the starting point or _V_ertically down from the starting
          point

  legend: logical, if 'TRUE' then the bandnames are plotted next to the
          chromosome

 cex.leg: numeric, relative size of legend text

  bleach: numeric [0,1], proportion by which to bleach the chromosome

     ...: extra parameters for 'plot'

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

     This function is executed for its side effects

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

     David L Duffy , Jan Oosting

_R_e_f_e_r_e_n_c_e_s:

     lodplot package

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

       plot(c(0,lengthChromosome(14,"bases")),c(-2,2),type="n",xaxt="n",yaxt="n",xlab="",ylab="")
       paintCytobands(14,units="bases")

