plot_genome_vs_cm: Draws a physical vs cM map

View source: R/plot_genome_vs_cm.R

plot_genome_vs_cmR Documentation

Draws a physical vs cM map

Description

Provides simple genetic to physical ggplot.

Usage

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

Value

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

Author(s)

Jeekin Lau, jeekinlau@gmail.com


onemap documentation built on June 8, 2025, 1:55 p.m.