plot_compare_geno: Plot of compare_geno object.

View source: R/compare_geno.R

plot_compare_genoR Documentation

Plot of compare_geno object.

Description

From results of compare_geno(), plot histogram of

Usage

plot_compare_geno(x, rug = TRUE, ...)

## S3 method for class 'compare_geno'
plot(x, rug = TRUE, ...)

Arguments

x

A square matrix with genotype comparisons for pairs of individuals, as output by compare_geno().

rug

If true, use rug() to plot tick marks at observed values below the histogram.

...

Additional graphics parameters passed to hist()

Value

None.

Examples

grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
cg <- compare_geno(grav2)
plot(cg)

rqtl/qtl2 documentation built on March 20, 2024, 6:35 p.m.