gg_GWAS_Hits
gg_GWAS_Hits.RdCreates a summary GWAS plot of significant associations.
Usage
gg_GWAS_Hits(
  xx,
  xG,
  xCV = NULL,
  traits,
  range = 2e+06,
  title = "",
  sigMin = 0,
  models = c("BLINK", "FarmCPU", "MLMM", "MLM", "GLM", "CMLM", "SUPER"),
  model.colors = gwaspr_Colors,
  model.shapes = c(21:25, 21:22),
  vlines = NULL,
  vline.colors = rep("red", length(vlines)),
  vline.types = rep(1, length(vlines)),
  legend.rows = 1
)Arguments
- xx
 Table of significant GWAS results. See ?table_GWAS_Results().
- xG
 Genotype data in hapmap format.
- xCV
 Optional, for filtering if you have a "CV" column.
- traits
 List of traits to use.
- range
 Range for binning GWAS hits.
- title
 Title for horizontal facet.
- sigMin
 Minimum number of hits to plot.
- models
 Models to read.
- model.colors
 Colors for each model.
- vlines
 Markers to be labelled with a vertical red line.
- vline.colors
 colors for each vertical line.
- vline.types
 lty for each vertical line.
- legend.rows
 Number of rows for the legend.