Skip to contents

Creates a marker plot with myG and myY objects.

Usage

gg_Marker(
  myG,
  myY,
  trait,
  marker,
  marker2 = NULL,
  type = "bar",
  points = T,
  colors = c("darkgreen", "darkgoldenrod3", "darkred", "steelblue4", "darkslategray",
    "maroon4", "purple4", "darkblue")
)

Arguments

myG

GWAS genotype object. Note:

myY

GWAS phenotype object.

trait

Trait to plot.

marker

Marker to plot.

marker2

Second marker to plot.

type

Type of plot to make.

points

Logical, whether or not to plot points

colors

Color palette.

Value

Marker plot.