plot.qb.scanone {qtlbim}R Documentation

Plot or print qb.scanone object.

Description

Plot or print marginal diagnostics of effects from a qb.scanone object.

Usage

## S3 method for class 'summary.qb.scanone':
print(x, digits = 3, ...)
## S3 method for class 'qb.scanone':
print(x, digits = 3, ...)
## S3 method for class 'qb.scanone':
plot(x, chr, scan, ylim, scan.name, ...)

Arguments

x An object of class qb.scanone.
digits Significant digits to round with print.
chr Vector of chromosomes to plot. Must be integer.
scan The model effects to include, the default is all those included in the scanone object x.
ylim Vector of length 2 with vertical limits.
scan.name Name of scan for plot; default is "effects" or comma-separated catenation of scan.
... Other values passed to the generic plot function.

Details

This plot method uses plot.scanone as the engine to plot marginal posterior diagnostics created with qb.scanone. When there are multiple effects in x, these may be organized into one or several stacked plots using scan. The default for most diagnostics except counts is scan = c("sum", "main", "epis"). Counts and posterior diagnostics are typically plotted in two stacked plots. Individual columns from the x object can be plotted by specifying their names as a vector to option scan.

Arguments col and lty use keywords to names in scan argument. Default main and sub arguments are provided.

Value

Data frame with colors and line types used in plots.

Author(s)

Brian S. Yandell, yandell@stat.wisc.edu

References

http://www.qtlbim.org

See Also

qb.scanone, summary.qb.scanone, plot.scanone

Examples

example(qb.scanone)

[Package qtlbim version 1.9.3 Index]