overlay_plot | R Documentation |
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",
...
)
loc |
Object of class 'locus' to use for plot. See |
base_col |
Colour of points for SNPs which do not have eQTLs. |
alpha |
Alpha opacity for non-eQTL points |
scheme |
Character string specifying palette for effect size showing up/downregulation eQTL using grDevices::hcl.colors. Alternatively a vector of 6 colours. |
tissue |
GTex tissue in which eQTL has been measured |
eqtl_gene |
Gene showing eQTL effect |
legend_pos |
Character value specifying legend position. See |
... |
Other arguments passed to |
No return value. Produces a plot using base graphics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.