drawSimpleChrom         package:quantsmooth         R Documentation

_D_r_a_w _c_h_r_o_m_o_s_o_m_e-_l_i_k_e _i_c_o_n_s

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

     This function paints chromosomal icons on an existing plot

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

     drawSimpleChrom(x, y, len = 3, width = 1, fill, col, orientation = c("h", "v"), centromere.size = 0.6)

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

       x: start x-position

       y: start y-position

     len: total length of the chromosome

   width: width of the chromosome

    fill: character, {"a","p","q","q[1-3]","p[1-3]" }. Events to a
          chromosome can be depicted by coloring "a"ll of the
          chromosome, the complete p or q-arm, or a subsegment of the
          arms

     col: color(s) of 'fill'

orientation: either "h"orizontal or "v"ertical

centromere.size: The size of the centromere as fraction of the width

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

     This function is executed for its side effects

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

     Jan Oosting

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

       plot(c(0,4),c(0,3),type="n",xaxt="n",yaxt="n",xlab="",ylab="")
       drawSimpleChrom(2,3,fill=c("p","q3"),col=c("red","blue"),orientation="v")

