Learn R Programming

qtl (version 1.01-9)

plot.map: Plot genetic map

Description

Plot genetic map of marker locations for all chromosomes.

Usage

## S3 method for class 'map':
plot(x, map2, chr, horizontal=FALSE, shift=TRUE, \dots)
plot.map(x, map2, chr, horizontal=FALSE, shift=TRUE, ...)

Arguments

x
A list whose components are vectors of marker locations. A cross object may be given instead, in which case the genetic map it contains is used.
map2
An optional second genetic map with the same number of chromosomes and markers as the first. As with the first argument, a cross object may be given instead. If this argument is given, a comparison of the two genetic maps is plo
chr
Vector specifying which chromosomes to plot. (The chromosomes must be specified by name.)
horizontal
Specifies whether the chromosomes should be plotted horizontally.
shift
If TRUE, shift the first marker on each chromosome to be at 0 cM.
...
Ignored at this point.

Value

  • None.

Details

Plots the genetic map for each chromosome, or a comparison of the genetic maps if two maps are given.

For a sex-specific map, female and male maps are plotted against one another. For two sex-specific maps, female maps and male maps are plotted against one another.

See Also

est.map, plot.cross

Examples

Run this code
data(fake.bc)
fake.bc <- subset(fake.bc, chr=18:19)
plot.map(fake.bc)
plot.map(fake.bc,horizontal=TRUE)
newmap <- est.map(fake.bc)
plot(newmap)
plot.map(fake.bc, newmap)

Run the code above in your browser using DataLab