plot_map_list {mappoly} | R Documentation |
Plot a genetic map
Description
This function plots a genetic linkage map(s) generated by MAPpoly
.
The map(s) should be passed as a single object or a list of objects of class mappoly.map
.
Usage
plot_map_list(
map.list,
horiz = TRUE,
col = "lightgray",
title = "Linkage group"
)
Arguments
map.list |
A list of objects or a single object of class |
horiz |
logical. If FALSE, the maps are plotted vertically with the first map to the left. If TRUE (default), the maps are plotted horizontally with the first at the bottom |
col |
a vector of colors for each linkage group. (default = 'lightgray')
|
title |
a title (string) for the maps (default = 'Linkage group') |
Value
A data.frame
object containing the name of the markers and their genetic position
Author(s)
Marcelo Mollinari, mmollin@ncsu.edu
References
Mollinari, M., and Garcia, A. A. F. (2019) Linkage analysis and haplotype phasing in experimental autopolyploid populations with high ploidy level using hidden Markov models, _G3: Genes, Genomes, Genetics_. doi:10.1534/g3.119.400378
Examples
## hexafake map
plot_map_list(maps.hexafake, horiz = FALSE)
plot_map_list(maps.hexafake, col = c("#999999", "#E69F00", "#56B4E9"))
## solcap map
plot_map_list(solcap.dose.map, col = "ggstyle")
plot_map_list(solcap.dose.map, col = "mp_pallet3", horiz = FALSE)