iterplot: Plotting of map comparisons

Description Usage Arguments Value Examples

View source: R/diagnostics.R

Description

Given a list of maps with the same markers (re-orderings of the same markers) it plots all maps with segments connecting the same marker as it moves through the maps. Additionally, the reorder parameter tau (see 'reorder_tau') is also printed between map comparisons.

Usage

1
iterplot(maplist, ...)

Arguments

maplist

A list of maps containing at least "position" and "marker" columns. The map from a single chromosome is expected. Names of this list are used as axis names.

...

Additional parameters to be passed to 'plot()' such as 'main' for the title.

Value

A comparison plot between maps.

Examples

1
2
3
4
data("iter_smooth_descent")

maplist <- extract(sd_iter,"newmap", simplify = FALSE)
iterplot(maplist, main = "Example iteration plot")

Alethere/SmoothDescent documentation built on Jan. 14, 2022, 9:40 p.m.