agxgman: agxgman

Description Usage Arguments Value Examples

Description

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

Usage

1
2
3
4
agxgman(d, me, symmetric = TRUE, highlight_p = 0.05, legend = "p-value",
  title = NULL, high = "#02021e", low = "#1A0F99",
  highlight_high = "yellow", highlight_low = "#fffcd3", file = "agxgman",
  ext = "gif", hgt = 600, wi = 650)

Arguments

d

data frame, must contain SNP1, CHR1, POS1, SNP2, CHR2, POS2, pvalue, Frame (factor) columns

me

optional main effect data frame containing SNP, CHR, POS, pvalue, Frame (factor) columns, optional Shape

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

file

file name of saved image

ext

file extension "html" or "gif"

hgt

height of plot in pixels

wi

width of plot in pixels

Value

html or gif file

Examples

1
agxgman(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.