Marker Plot

marker_plot(
  marker = NULL,
  map = NULL,
  trait_selected = "",
  type = "point",
  point_size = 4,
  legend_size = 15,
  alpha = 1
)

Arguments

marker

data.frame with marker effects (marker, trait_1, trait_2, ...).

map

data.frame with the genetic map (marker, position, chr).

trait_selected

vector with traits to plot

type

string selecting whether to use points or lines in the geom. (point by default).

point_size

numeric value to define the size of the points

legend_size

numeric value to define the size of the theme (15 by default).

alpha

numeric value between (0, 1) to define the alpha in the geom.

Value

ggplot object

Examples

# marker_plot(
# marker = marker_info,
# map = map,
# trait_selected = traits,
# type = "line",
# alpha = 1
# )