plot_phased_maplist: Visualise the phased homologue maplist

View source: R/exported_functions.R

plot_phased_maplistR Documentation

Visualise the phased homologue maplist

Description

plot_phased_maplist is a function for visualising a phased maplist, the output of create_phased_maplist

Usage

plot_phased_maplist(
  phased.maplist,
  ploidy,
  ploidy2 = NULL,
  cols = c("black", "darkred", "navyblue"),
  width = 0.2,
  mapTitles = NULL
)

Arguments

phased.maplist

A list of phased linkage maps, the output of create_phased_maplist

ploidy

Integer. Ploidy of the organism.

ploidy2

Optional integer, by default NULL. Ploidy of parent 2, if different from parent 1.

cols

Vector of colours for the integrated, parent1 and parent2 maps, respectively.

width

Width of the linkage maps, by default 0.2

mapTitles

Optional vector of titles for maps, by default names of maplist, or titles LG1, LG2 etc. are used.

Examples

data("phased.maplist")
plot_phased_maplist(phased.maplist, ploidy = 4)

polymapR documentation built on Nov. 5, 2023, 1:09 a.m.