Description Usage Arguments Value See Also Examples
This function creates a plot of the distribution of relatedness using the package ggplot2.
1 | plot_relatedness(data, limits = c(0, 0.5), to = "males")
|
data |
A dataframe containing the data to be processed. |
limits |
The limit for the y-axis of the plot. |
to |
Either 'males' or 'females', to indicate of the relatedness between the focal male is computed to males or females. |
A ggplot object.
1 2 | plot_relatedness(data = males, to = 'males')
plot_relatedness(data = males, to = 'females')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.