plotChr: Plotting one or two linkage maps

Description Usage Arguments Value Examples

View source: R/plot.R

Description

Visualization of one or two linkage maps. Used as comparison between two different maps (e.g. different parameters or linkage mapping tools).

Usage

1
plotChr(map1, map2 = NULL, cex = 1, labels = c("Map 1", "Map 2"), ...)

Arguments

map1

Numeric vector with marker positions.

map2

Optional second map for comparison.

cex

Font size in the figure.

labels

Labels for the two blocks

...

arguments are forwarded to plot.

Value

None. Plotting only.

Examples

1
2
3
4
5
6
7
data(simTetra)
simTetraGen <- basesToGenotypes(simTetra, 4)
rfMat <- calcRec(simTetraGen, 4)
split <- splitChr(rfMat, nchr = 7)
split <- sortLeafs(rfMat, split)
map <- pullMap(rfMat, split = split)
plotChr(map[[1]])

grafab/pergola documentation built on May 17, 2019, 8:18 a.m.