plot_by_segreg_type function

Draw a graphic showing the number of markers of each segregation pattern.

Draw a graphic showing the number of markers of each segregation pattern.

The function receives an object of class onemap. For outcrossing populations, it can show detailed information (all 18 possible categories), or a simplified version.

plot_by_segreg_type(x, subcateg = TRUE)

Arguments

  • x: an object of class onemap
  • subcateg: a TRUE/FALSE option to indicate if results will be plotted showing all possible categories (only for outcrossing populations)

Returns

a ggplot graphic

Examples

data(onemap_example_out) #Outcrossing data plot_by_segreg_type(onemap_example_out) plot_by_segreg_type(onemap_example_out, subcateg=FALSE) data(onemap_example_bc) plot_by_segreg_type(onemap_example_bc) data(mapmaker_example_f2) plot_by_segreg_type(mapmaker_example_f2)
  • Maintainer: Cristiane Taniguti
  • License: GPL-3
  • Last published: 2025-01-10