Skip to contents

Creates a marker plot with myG and myY objects.

Usage

gg_Marker_Box(
  xG,
  xY,
  trait,
  markers,
  box.width = 0.1,
  points = T,
  violin = T,
  marker.colors = c("darkgreen", "darkgoldenrod3", "darkred", "steelblue4",
    "darkslategray", "maroon4", "purple4", "darkblue")
)

Arguments

xG

GWAS genotype object. Note: needs to be in hapmap format.

xY

GWAS phenotype object.

trait

Trait to plot.

markers

Markers to plot.

box.width

width for the boxplot.

points

Logical, whether or not to plot points.

violin

Logical, whether or not to plot violin.

marker.colors

Color palette.

Value

Marker plot.