make.single.cross.plot: Single DIDACT square plot of posterior utility.

Description Usage Arguments Examples

Description

This function takes posterior samples of utilities from evaluate.experiments() and produces a single square plot of the posterior utilities for specified cross.

Usage

1
2
3
4
5
make.single.cross.plot(cross, cross.type, didact.object,
  utility.type = c("power", "contrasts"), col.range = c("white",
  "black"), col.spectrum = c("blue2red", "gray", "green2red",
  "blue2green"), include.var.pie = TRUE, include.bar.plots = TRUE,
  include.density = TRUE, back.allele = "A", ...)

Arguments

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.

Examples

1

gkeele/DIDACT documentation built on May 17, 2019, 6:06 a.m.