ggplot_listof_scan1coef: Plot of object of class listof_scan1coeff

View source: R/ggplot_listof_scan1coef.R

ggplot_listof_scan1coefR Documentation

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 class 'listof_scan1coef'
autoplot(object, ...)

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.

Value

object of class ggplot

Author(s)

Brian S Yandell, brian.yandell@wisc.edu


byandell/qtl2ggplot documentation built on March 18, 2024, 8:54 a.m.