make.big.info.plot: Info plot that can be included in the diagonal of the DIDACT...

Description Usage Arguments Examples

View source: R/plot_functions.R

Description

This function produces the information plot that is included in the DIDACT grid plot. This includes informtion on the trait, cross type, number of QTL, sample size (for power utility), and utility ramp.

Usage

1
2
3
4
make.big.info.plot(trait, experiment = c("f2", "bc"),
  utility.type = c("power", "contrasts"), n, col.range = c("white",
  "black"), col.spectrum = c("blue2red", "gray", "green2red",
  "blue2green"), x.high = 1)

Arguments

trait

A string that is included as the trait or phenotype.

experiment

DEFAULT: "f2". A string that is included as the cross type. Expected values include "f2" and "bc".

utility.type

DEFAULT: "power". A string that is included as the utility type. Expected values are "power" and "contrasts".

n

An integer that is included as the sample size for power calculation.

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".

x.high

DEFAULT: 1. The high value for the utility ramp. For power, 1 should be the maximum value.

Examples

1

gkeele/DIDACT documentation built on Dec. 9, 2018, 12:27 a.m.