Learn R Programming

qtl (version 0.92-3)

plot.cross: 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, ...)

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.
...
Ignored at this point.

Value

  • None.

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)).

See Also

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

Examples

Run this code
data(fake.bc)
plot(fake.bc)

Run the code above in your browser using DataLab