| plot_by_segreg_type {onemap} | R Documentation |
Draw a graphic showing the number of markers of each segregation pattern.
Description
The function receives an object of class onemap.
For outcrossing populations, it can show detailed information (all 18 possible categories),
or a simplified version.
Usage
plot_by_segreg_type(x, subcateg = TRUE)
Arguments
x |
an object of class |
subcateg |
a TRUE/FALSE option to indicate if results will be plotted showing all possible categories (only for outcrossing populations) |
Value
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)
[Package onemap version 3.0.0 Index]