Learn R Programming

qtl2ggplot (version 1.2.6)

ggplot_listof_scan1coef: Plot of object of class listof_scan1coeff

Description

Plot object of class listof_scan1coeff, which is a list of objects of class scan1coef.

Usage

ggplot_listof_scan1coef(
  object,
  map,
  columns = NULL,
  col = NULL,
  scan1_output = NULL,
  facet = "pattern",
  ...
)

# S3 method for listof_scan1coef autoplot(object, ...)

Value

object of class ggplot

Arguments

object

object of class listof_scan1coeff

map

A list of vectors of marker positions, as produced by insert_pseudomarkers.

columns

Vector of columns to plot

col

Vector of colors, same length as columns. If NULL, some default choices are made.

scan1_output

If provided, we make a two-panel plot with coefficients on top and LOD scores below. Should have just one LOD score column; if multiple, only the first is used.

facet

Plot facets if multiple phenotypes and group provided (default = "pattern").

...

arguments for ggplot_coef

pattern

Use phenotype names as pattern.

Author

Brian S Yandell, brian.yandell@wisc.edu