plotQTL_boxes: Add box to a plotQTL plot.

Description Usage Arguments

View source: R/plotQTL_boxes.R

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
plotQTL_boxes(plotQTL, boxes, margins = "full", ...)

Arguments

plotQTL

A plotQTL object from plotQTL().

boxes

A dataframe listing chomosome, lower bound and upper bounds for the box. This can be generated using cluster_qtl().

margins

Optional vector of two elements giving the left- and right-most margins for the box. If not used, the whole width of the chromosome will be used.

...

Additional parameters passed to graphical functions.


ellisztamas/arghqtl documentation built on March 18, 2021, 9:44 p.m.