Learn R Programming

qtl2ggplot (version 1.2.6)

color_patterns_pheno: Set up col, pattern, shape and group for plotting.

Description

Set up col, pattern, shape and group for plotting.

Usage

color_patterns_pheno(
  scan1ggdata,
  lod,
  pattern,
  col,
  shape,
  patterns,
  facet = NULL
)

Value

data frame scan1ggdata with additional objects.

Arguments

scan1ggdata

data frame to be used for plotting

lod

matrix of LOD scores by position and pheno

pattern

allele pattern of form AB:CDEFGH

col

Color for color column in scan1ggdata

shape

Shape for shape column in scan1ggdata

patterns

Connect SDP patterns: one of c("none","all","hilit")

facet

use facet_wrap if not NULL