Description Usage Arguments Value Examples
View source: R/plot.raw.data.R
The function receives an object of class onemap
.
For outcrossing populations, it can show detailed information (all 18 possible categories),
or a simplified version.
1 2 |
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) |
... |
Not used |
a ggplot graphic
1 2 3 4 5 6 7 8 9 | data(example.out) #Outcrossing data
plot.by.segreg.type(example.out)
plot.by.segreg.type(example.out, subcateg=FALSE)
# You can store the graphic in an object, then save it.
# For details, see the help of ggplot2's function ggsave()
data(example.out) #Outcrossing data
g <- plot.by.segreg.type(example.out)
ggsave("SegregationTypes.jpg", g, width=7, height=4, dpi=600)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.