gg_GWAS_Hits
gg_GWAS_Hits.Rd
Creates a summary GWAS plot of significant associations.
Usage
gg_GWAS_Hits(
xx,
xG,
xCV = NULL,
traits,
range = 2e+06,
title = "",
sigMin = 0,
models = c("MLM", "FarmCPU", "BLINK", "MLMM", "GLM", "CMLM", "SUPER"),
model.colors = c("darkgreen", "darkorange3", "steelblue", "darkred", "darkorchid4",
"burlywood4", "darkseagreen4"),
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.