plot.pheno {qtl}R Documentation

Plot a phenotype distribution

Description

Plots a histogram or barplot of the data for a phenotype from an experimental cross.

Usage

## S3 method for class 'pheno':
plot(x, pheno.col=1, ...)

Arguments

x An object of class cross. See read.cross for details.
pheno.col The phenotype column to plot: a numeric index, or the phenotype name as a character string.
... Passed to hist or barplot.

Details

Numeric phenotypes are displayed as histograms with approximately 2 sqrt(n) bins. Phenotypes that are factors or that have very few unique values are displayed as barplots.

Value

None.

Author(s)

Karl W Broman, kbroman@biostat.wisc.edu

See Also

plot.cross, plot.map, plot.missing, hist, barplot

Examples

data(fake.bc)
plot(fake.bc, pheno.col=1)
plot(fake.bc, pheno.col=3)

[Package qtl version 1.07-12 Index]