This function creates a Marey plot, which visualizes the relationship between physical position (in megabases) and genetic distance (in centimorgans) for a single chromosome.
Examples
if (FALSE) { # \dontrun{
# Example map data
example_map <- data.frame(
position = c(1000000, 5000000, 10000000, 20000000, 30000000),
p20 = c(0, 5, 10, 20, 30)
)
# Generate Marey plot for Chromosome 1
plot_marey(example_map, chrom = 1)
} # }