plotdiff1 | R Documentation |
Plot genetic differentiation (Delta D, Gaggiotti OE, et al, 2018) across loci.
plotdiff1(x, ncode)
x |
Genetic data, should be genepop format |
ncode |
The coding type of your genetic data. |
Function generates two genetic differentiation (Delta D) plots, a box plot and a scatter plot
qinxinghu@gmail.com
Qin, X., & Gaggiotti, O. E. (2022). Information-based summary statistics for spatial genetic structure inference. Molecular Ecology Resources, 22(6), 2183-2195.
Gaggiotti, O. E., Chao, A., Peres-Neto, P., Chiu, C. H., Edwards, C., Fortin, M. J., ... & Selkoe, K. A. (2018). Diversity from genes to ecosystems: A unifying framework to study variation across biological metrics and scales. Evolutionary Applications.
DeltaDcorplot
##plot genetic differentiation across loci
# example genepop file
f1 <- function(f) system.file("extdata", f,package="HierDpart")
plotdiff1(f1("Island.gen"),ncode=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.