Learn R Programming

qtl (version 1.70)

plot.comparegeno: Plot genotype comparison

Description

Plot the results of the comparison of all pairs of individuals' genotypes. A histogram of the proportion of matching genotypes, with tick marks at individual values below, via rug.

Usage

# S3 method for comparegeno
plot(x, breaks=NULL, main="",
     xlab="Proportion matching genotypes", ...)

Value

None.

Arguments

x

An object of class "comparegeno", as produced by comparegeno.

breaks

Passed to hist, with the default \(2 \sqrt{n}\) where \(n\) is the number of pairs of individuals.

main

Title for the plot.

xlab

x-axis label for the plot.

...

Passed to hist.

Author

Karl W Broman, broman@wisc.edu

Details

Creates a histogram with hist with ticks at individual values using rug.

See Also

comparegeno, summary.comparegeno

Examples

Run this code
data(fake.f2)
cg <- comparegeno(fake.f2)
plot(cg)

Run the code above in your browser using DataLab