iterplot: Plotting of map comparisons

View source: R/diagnostics.R

iterplotR Documentation

Plotting of map comparisons

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

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

data("iter_smooth_descent")

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

Alethere/SmoothDescent documentation built on Oct. 21, 2023, 7:11 a.m.