Experimental plotting function for overlaying eQTL data from GTEx on top of GWAS results. y axis shows the -log10 p-value for the GWAS result. Significant eQTL for the specified gene are overlaid using colours and symbols.
overlay_plot(
loc,
base_col = "black",
alpha = 0.5,
scheme = "RdYlBu",
tissue = "Whole Blood",
eqtl_gene = loc$gene,
legend_pos = "topright",
...
)
No return value. Produces a plot using base graphics.
Object of class 'locus' to use for plot. See locus()
.
Colour of points for SNPs which do not have eQTLs.
Alpha opacity for non-eQTL points
Character string specifying palette for effect size showing up/downregulation eQTL using grDevices::hcl.colors. Alternatively a vector of 6 colours.
GTex tissue in which eQTL has been measured
Gene showing eQTL effect
Character value specifying legend position. See legend()
.
Other arguments passed to locus_plot()
for the locus plot.