plotQTL_label: Plot a label for QTL on the left of a track.

Description Usage Arguments

View source: R/plotQTL_label.R

Description

Plot labels for QTL or QTL regions on the left of a track in a plotQTL plot. If map positions are supplied, a bar can be drawn to indicate the extent of a QTL region.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
plotQTL_label(
  plotQTL,
  chr,
  label,
  underlined = FALSE,
  plot_bar = FALSE,
  pos = NULL,
  min = NULL,
  max = NULL,
  bar_offset = 2,
  text_offset = 6,
  ...
)

Arguments

plotQTL

A plotQTL object from plotQTL().

chr

Chromosome.

label

Text to plot

underlined

Logical statement indicating whether the label should be underlined.

plot_bar

Logical statement indicating whether a vertical bar should be plotted with the label.

pos

Y-axis position for the label. If this is NULL, the midpoint of max and min is used.

min

Starting map position of the bar, if this is to be plotted.

max

End map position of the bar, if this is to be plotted.

bar_offset

Distance from the chromosome track to plot the bar.

text_offset

Distance from the chromosome track to plot the label.

...

Further arguments to be passed to text


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