gg_Marker_Box
gg_Marker_Box.Rd
Creates a marker plot with myG and myY objects.
Usage
gg_Marker_Box(
xG,
xY,
traits,
markers,
marker.colors = gwaspr_Colors,
plot.violin = T,
plot.points = T,
box.width = 0.1,
point.size = 1,
myncol = NULL,
title = NULL
)
Arguments
- xG
GWAS genotype object. Note: needs to be in hapmap format.
- xY
GWAS phenotype object.
- traits
Traits to plot.
- markers
Markers to plot.
- marker.colors
Color palette.
- plot.violin
Logical, whether or not to plot violin.
- plot.points
Logical, whether or not to plot points.
- box.width
Width for the boxplot.
- point.size
Size for the points.
- myncol
Number of columns for facetting when plotting multiple traits.
- title
Title for the plot.