diallel.phenotype.map: Heatmap of mean phenotype for diallel cross.

Description Usage Arguments Examples

View source: R/plot_functions.R

Description

This function produces a heatmap of the mean phenotypes per diallel cell, providing a visualization of raw diallel data.

Usage

1
2
3
4
5
6
diallel.phenotype.map(mother.str.var, father.str.var, phenotype, data,
  phenotype.title = NULL, do.reorder = TRUE,
  strains.reorder = c("AJ", "B6", "129", "NOD", "NZO", "CAST", "PWK",
  "WSB"), strain.names = c("AJ", "B6", "129", "NOD", "NZO", "CAST",
  "PWK", "WSB"), strain.colors = c("#F0F000", "#808080", "#F08080",
  "#1010F0", "#00A0F0", "#00A000", "#F00000", "#9000E0"), strain.cex = 1)

Arguments

mother.str.var

Name of variable encoding the mother/dam strain identity.

father.str.var

Name of variable encoding the father/sire strain identity.

phenotype

Name of the phenotype variable. A quantitative phenotype is expected.

data

The data.frame that contains the phenotype and parental strain identities.

phenotype.title

DEFAULT: NULL. The title for the phenotype. If NULL, it is left blank.

do.reorder

DEFAULT: TRUE. If TRUE, reorders strains according to strain.reorder argument.

strains.reorder

DEFAULT: c("AJ", "B6", "129", "NOD", "NZO", "CAST", "PWK", "WSB"). By default, reorders strains based on the standard order of the Collaborative Cross strains.

strain.names

DEFAULT: c("AJ", "B6", "129", "NOD", "NZO", "CAST", "PWK", "WSB"). By default, renames strains to the slightly abbreviated Collaborative Cross labels.

strain.colors

DEFAULT: c("#F0F000", "#808080", "#F08080", "#1010F0", "#00A0F0", "#00A000", "#F00000", "#9000E0"). By default, the standard Collaborative Cross colors are specified.

strain.cex

DEFAULT: 1. Specifies the size of strain labels.

Examples

1

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