plot_genome_vs_cm function

Draws a physical vs cM map

Draws a physical vs cM map

Provides simple genetic to physical ggplot.

plot_genome_vs_cm(map.list, mapping_function = "kosambi", group.names = NULL)

Arguments

  • map.list: a map, i.e. an object of class sequence with a predefined order, linkage phases, recombination fraction and likelihood; also it could be a list of maps.
  • mapping_function: either "kosambi" or "haldane"
  • group.names: vector with group name for each sequence object in the map.list

Returns

ggplot with cM on x-axis and physical position on y-axis

Author(s)

Jeekin Lau, jeekinlau@gmail.com

  • Maintainer: Cristiane Taniguti
  • License: GPL-3
  • Last published: 2025-01-10