This function generates a genotype-phenotype plot with regression lines in the control and treated conditions based on the MAP model.

make_gp_plot(gp, title = NULL, seed = 1)

Arguments

gp

A list object obtained from the format_gp function.

title

A character string specifying a title.

seed

A seed for RNG.

Value

A ggplot2 object