drawSimpleChrom {quantsmooth} | R Documentation |
This function paints chromosomal icons on an existing plot
drawSimpleChrom(x, y, len = 3, width = 1, fill, col, orientation = c("h", "v"), centromere.size = 0.6)
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 |
This function is executed for its side effects
Jan Oosting
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")