This is a function to prepare data for visualization using
make_gp_plot
.
format_gp(data, fit, seed = 1)
A list containing phenotype, genotype, treatment, and subject, which must be named "y", "g", "t", and "subject ", respectively.
A list obtained from the do_bms
.
A seed for RNG.
A list of data frames.