line_plot: Locus line plot

View source: R/line_plot.R

line_plotR Documentation

Locus line plot

Description

Produces a line plot from a 'locus' class object. Intended for use with set_layers().

Usage

line_plot(
  loc,
  pcutoff = 5e-08,
  xlab = NULL,
  ylab = expression("-log"[10] ~ "P"),
  cex.axis = 1,
  xticks = FALSE,
  border = FALSE,
  align = TRUE,
  ...
)

Arguments

loc

Object of class 'locus' to use for plot. See locus.

pcutoff

Cut-off for p value significance. Defaults to p = 5e-08. Set to NULL to disable.

xlab

x axis title.

ylab

y axis title.

cex.axis

Specifies font size for axis numbering.

xticks

Logical whether x axis numbers and axis title are plotted.

border

Logical whether a bounding box is plotted around upper and lower plots.

align

Logical whether set par() to align the plot.

...

Other arguments passed to plot() for the scatter plot.

Value

No return value. Produces a scatter plot using base graphics.

See Also

locus() set_layers() scatter_plot()


myles-lewis/locuszoomr documentation built on April 16, 2024, 11:13 p.m.