Description Usage Arguments Examples
View source: R/plot_functions.R
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.
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)
|
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. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.