Marker Plot
marker_plot(
marker = NULL,
map = NULL,
trait_selected = "",
type = "point",
point_size = 4,
legend_size = 15,
alpha = 1
)
data.frame with marker effects (marker, trait_1, trait_2, ...).
data.frame with the genetic map (marker, position, chr).
vector with traits to plot
string selecting whether to use points or lines in the geom. (point by default).
numeric value to define the size of the points
numeric value to define the size of the theme (15 by default).
numeric value between (0, 1) to define the alpha in the geom.
ggplot object
# marker_plot(
# marker = marker_info,
# map = map,
# trait_selected = traits,
# type = "line",
# alpha = 1
# )