Skip to contents

Creates a summary GWAS plot of significant associations.

Usage

gg_GWAS_Hits(
  xx,
  myG,
  myTs,
  myR = 2e+06,
  myTitle = "",
  sigMin = 0,
  myCV = NULL,
  vlines = NULL,
  vline.colors = rep("red", length(vlines))
)

Arguments

xx

Table of significant GWAS results. See ?table_GWAS_Results().

myG

Genotype data.

myTs

List of traits to use.

myR

Range for binning GWAS hits.

myTitle

Title for horizontal facet.

sigMin

Minimum number of hits to plot.

myCV

(optional) for filtering if you have a "CV" column.

vlines

Markers to be labelled with a vertical red line.

vline.colors

colors for each vertical line.

Value

A GWAS Hits plot.