Description Usage Arguments Value Examples
Create interactive heatmap plots for SNPxSNP or GxG interaction Dependencies: ggplot2
1 2 3 4 |
d |
data frame, must contain SNP1, CHR1, POS1, SNP2, CHR2, POS2, pvalue columns, optional Info column |
me |
optional main effect data frame containing SNP, CHR, POS, pvalue columns, optional Shape and Info column |
symmetric |
boolean, should the plot be symmetric |
highlight_p |
threshold to diverge gradient color scale, default 0.05, set to "off" for no threshold |
legend |
title for color legend, default "p-value" |
title |
optional string for plot title |
high |
color for high values |
low |
color for low values |
highlight_high |
if highlight_p given, color for max of highlight range |
highlight_low |
if highlight_p given, color for min of highlight range |
moreinfo |
includes more information on hover, refers to Info column |
file |
file name of saved image |
hgt |
height of plot in inches |
wi |
width of plot in inches |
db |
database to connect to (GWAScatalog or dbSNP), only used when 'me' is provided |
html file
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.