Produces a plot of eQTL data embedded in a 'locus' class object. Intended for
use with set_layers()
.
eqtl_plot(
loc,
tissue = "Whole Blood",
eqtl_gene = loc$gene,
scheme = "RdYlBu",
col = NA,
pcutoff = NULL,
xlab = NULL,
ylab = expression("-log"[10] ~ "P"),
cex.axis = 0.9,
xticks = TRUE,
border = FALSE,
add = FALSE,
align = TRUE,
legend_pos = "topright",
...
)
No return value. Produces a scatter plot using base graphics.
Object of class 'locus' to use for plot. See locus.
GTex tissue in which eQTL has been measured
Gene showing eQTL effect
Character string specifying palette for effect size showing up/downregulation eQTL using grDevices::hcl.colors. Alternatively a vector of 6 colours.
Outline point colour. NA
for no outlines.
Cut-off for p value significance. Defaults to p = 5e-08. Set
to NULL
to disable.
x axis title.
y axis title.
Specifies font size for axis numbering.
Logical whether x axis numbers and axis title are plotted.
Logical whether a bounding box is plotted around upper and lower plots.
Logical whether to add points to an existing plot or generate a new plot.
Logical whether set par()
to align the plot.
Character value specifying legend position. See legend()
.
Other arguments passed to plot()
for the scatter plot.
locus()
set_layers()
scatter_plot()