This function draws a slice of a track content, with a distinct point for each track element.
draw.points(slice, start, end, column = "value", pointColor = "#666666",
cex.lab = 1, cex = 0.6, pch = "+", bty = "o", fg = "#000000", ...)
A data.frame
holding the data to plot, with elements in rows and data in columns.
Single integer value, the left boundary of the window, in base pairs.
Single integer value, the right boundary of the window, in base pairs.
Single character value, the name of the slice
column to use for bar heights.
The color to use for points (as a name, an integer or an hexadecimal character description). It can alternatively be a function without argument, which returns a vector of as many colors as slice
has rows. It can make direct variable call to any argument described on this page (including custom arguments passed via "...").
See par
.
See par
.
See par
.
See par
.
Single character value, defining the color of the foreground (axes, labels...) as an english name or a hexadecimal code. Similar to par
's argument but not relying on it.
Further arguments to be passed to draw.bg
.
Sylvain Mareschal
draw.bg
, draw.boxes
, draw.density
, draw.hist
, draw.pileup
, draw.seq
, draw.steps