igxgman: igxgman

Description Usage Arguments Value Examples

Description

Create interactive heatmap plots for SNPxSNP or GxG interaction Dependencies: ggplot2

Usage

1
2
3
4
igxgman(d, me, symmetric = TRUE, highlight_p = 0.05, legend = "p-value",
  title = NULL, high = "#02021e", low = "#1A0F99",
  highlight_high = "yellow", highlight_low = "#fffcd3", dbSNP,
  moreinfo = FALSE, file = "igxgman", hgt = 7, wi = 7.5, res = 300)

Arguments

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

Value

html file

Examples

1
igxgman(d, me, symmetric, highlight_p, legend, title, high, low, highlight_high, highlight_low, file, hgt, wi)

anastasia-lucas/nightlight documentation built on May 14, 2019, 6:09 a.m.