Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class 'comparegeno'
plot(x, breaks=NULL, main="",
     xlab="Proportion matching genotypes", ...)

Arguments

x

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

breaks

Passed to hist, with the default 2 √{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.

Details

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

Value

None.

Author(s)

Karl W Broman, broman@wisc.edu

See Also

Examples

data(fake.f2)
cg <- comparegeno(fake.f2)
plot(cg)

qtl

Tools for Analyzing QTL Experiments

v1.48-1
GPL-3
Authors
Karl W Broman <broman@wisc.edu> and Hao Wu, with ideas from Gary Churchill and Saunak Sen and contributions from Danny Arends, Robert Corty, Timothee Flutre, Ritsert Jansen, Pjotr Prins, Lars Ronnegard, Rohan Shah, Laura Shannon, Quoc Tran, Aaron Wolen, Brian Yandell, and R Core Team
Initial release
2021-03-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.