Learn R Programming

onemap (version 3.2.0)

plot_genome_vs_cm: 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)

Value

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

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

Author

Jeekin Lau, jeekinlau@gmail.com