Usage
gg_Marker_Scatter(
xG,
xY,
trait.x,
trait.y,
facet.rows = NULL,
facet.cols = NULL,
markers,
marker.colors = gwaspr_Colors,
remove.hets = F,
remove.N = T,
point.size = 1,
title = NULL,
legend.rows = 1,
subtitle = paste(markers, collapse = "\n")
)Arguments
- xG
GWAS genotype object. Note: needs to be in hapmap format.
- xY
GWAS phenotype object.
- trait.x
Trait for the x-axis.
- trait.y
Trait for the y-axis.
- facet.rows
Trait for the row facetting.
- facet.cols
Trait for the col facetting.
- markers
Markers to plot.
- marker.colors
Colors to fill in the violin and boxplots.
- remove.hets
Logical, Whether to remove hets or not. advised if plotting multiple markers.
- remove.N
Logical, Whether to remove N or NN.
- point.size
Size for the points.
- title
Title for the plot.
- legend.rows
Number of rows for the legend.
- subtitle
Subtitle for the plot. Defaults to the list of markers.
- yLab
Label for the y-axis.