drawSimpleChrom {quantsmooth}R Documentation

Draw chromosome-like icons

Description

This function paints chromosomal icons on an existing plot

Usage

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

Arguments

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

Value

This function is executed for its side effects

Author(s)

Jan Oosting

Examples

  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")

[Package quantsmooth version 1.8.0 Index]