gg_Marker
gg_Marker_Bar.Rd
Creates a marker plot with myG and myY objects.
Usage
gg_Marker_Bar(
xG,
xY,
traits,
markers,
marker.colors = c("darkgreen", "darkgoldenrod3", "darkred", "steelblue4",
"darkslategray", "maroon4", "purple4", "darkblue"),
plot.histogram = T,
plot.density = T,
plot.counts = F,
myncol = NULL,
line.color = F
)
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.histogram
Logical, if true will plot histogram bars.
- plot.density
Logical, if true will plot density bands.
- plot.counts
Logical, if true will make a plot of counts, if false will make a density plot.
- myncol
number of columns for facetting.