plotQTL_box: Add box to a plotQTL plot.

Description Usage Arguments

Description

Add a rectangle to a plotQTL plot, onto which QTL positions can be plotted. For example, boxes could denote regions in which QTL were found in previous studies. By default boxes span all lanes of the chromosome. Boxes can be restricted to particular lanes by specifying the lane margins in left_lane and right_lane.

Usage

1
2
plotQTL_box(plotQTL, track, upper, lower, left_lane = NULL,
  right_lane = NULL, lwd = 0.5, border = "gray50", col = "gray76", ...)

Arguments

plotQTL

A plotQTL object from plotQTL().

track

Integer indicating which chromosome track in the plotQTL object to plot to.

upper

Marker position for the top of the box.

lower

Marker position for the top of the box.

left_lane

Integer indicating the left-hand lane margin of the box.

right_lane

Integer indicating the right-hand lane margin of the box.

lwd

Width of the border.

border

Colour of the border.

col

Colour to fill the box.


ellisztamas/qtltools documentation built on May 3, 2019, 10:42 p.m.