View source: R/plotQTL_boxes.R
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.
1 | plotQTL_boxes(plotQTL, boxes, margins = "full", ...)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.