Learn R Programming

qtl (version 0.85-4)

plot.map: Plot genetic map

Description

Plot genetic map of marker locations for all chromosomes.

Usage

plot.map(x,map2,horizontal=FALSE,...)

Arguments

x
A list of length n.chr, each component being a vector 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 map, a cross object may be given instead. If this argument is given, a comparison of the two genetic maps is plott
horizontal
Specifies whether the chromosomes should be plotted horizontally.
...
Ignored at this point.

Value

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

See Also

plot.cross, est.map

Examples

Run this code
data(fake.bc)
plot.map(fake.bc)
plot.map(pull.map(fake.bc), horizontal=TRUE)
newmap <- est.map(fake.bc)
plot.map(fake.bc,newmap)
plot.map(pull.map(fake.bc),newmap,horizontal=TRUE)

Run the code above in your browser using DataLab