A package for plotting a de Finetti diagram and distributions of F-statistics of genotypes.
library(devtools)
install_github("mkanai/deFinetti")
> library(deFinetti)
> data(GenotypeFreq)
> GenotypeFreq
AA AB BB
1 0.33 0.50 0.17
2 0.49 0.44 0.07
3 0.04 0.19 0.77
> deFinetti.plot(GenotypeFreq, with_F_color = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.