plot.cross {qtl}R Documentation

Plot various features of a cross object

Description

Plots grid of the missing genotypes, genetic map, and histograms or barplots of phenotypes for the data from an experimental cross.

Usage

plot.cross(x, auto.layout=TRUE, pheno, ...)

Arguments

x An object of class cross. See read.cross for details.
auto.layout If TRUE, par(mfrow) is set so that all plots fit within one figure.
pheno Vector of numbers or character strings corresponding to phenotypes that should be plotted.
... Ignored at this point.

Details

Calls plot.missing, plot.map and hist or barplot to plot the missing genotypes, genetic map, and histograms or barplots of all phenotypes.

If auto.format=TRUE, par(mfrow) is used with ceiling(sqrt(n.phe+2)) rows and the minimum number of columns so that all plots fit on the plotting device.

Numeric phenotypes are displayed as histograms with approximately sqrt(n)+5 bins. Phenotypes that are factors are displayed as barplots by calling barplot(table(phe)).

Value

None.

Author(s)

Karl W Broman, kbroman@jhsph.edu; Brian Yandell

See Also

plot.missing, plot.map, hist, barplot, table

Examples

data(fake.bc)
plot(fake.bc)

[Package qtl version 0.98-57 Index]