Description Usage Arguments Examples
View source: R/plot_functions.R
This function takes posterior samples of utilities from evaluate.experiments() and produces a single square plot of the posterior utilities for specified cross.
1 2 3 4 5 |
cross |
The specific cross of strains to plot. Expects a string in the format of "AxB". |
cross.type |
The type of cross to evaluate. Expects "f2", "bc", "rbc1", and "rbc2". |
didact.object |
Samples of posterior utility produced by evaluate.experiments(). |
utility.type |
DEFAULT: "power". The posterior utility to be plotted. Currently the options are "power" and "contrasts". Power is more appropriate for Mendelian-like phenotypes. Contrasts make less assumptions. |
col.range |
DEFAULT: c("white", "black"). If specified, will create a color spectrum scale between the two colors included. |
col.spectrum |
DEFAULT: "blue2red". Use pre-specified spectrum. Options include "blue2red", "gray", "green2red", and "blue2green". |
include.var.pie |
DEFAULT: TRUE. If TRUE, pie chart of phenotypic variance is included in square. |
include.bar.plots |
DEFAULT: TRUE. If TRUE, box plots of posterior genotype class phenotypes are included in square. |
include.density |
DEFAULT: TRUE. If TRUE, histogram of posterior density is included in square. |
back.allele |
DEFAULT: "A". Specify which founder is backcrossed in a backcross. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.