HierJd | R Documentation |
This function calculates hierarchical genetic Jaccard dissimilarity
HierJd(f, ncode, nreg, r)
f |
Input file, genepop format |
ncode |
The integer used to code an allele |
nreg |
The number of aggregates (regions) |
r |
The number of subaggregates in each aggregate |
This function partitions genetic Jaccard dissimilarity into different hierarchical levels
Jdpop |
Jaccard dissimilarity between subaggregates |
Jdr |
Jaccard dissimilarity between aggregates |
HierJd |
The partitioning of Jaccard dissimilarity at different hierarchical levels |
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.
Jaccard, P. (1901). Etude comparative de la distribution florale dans une portion des Alpes et des Jura. Bull Soc Vaudoise Sci Nat, 37, 547-579.
Jaccard, P. (1912). The distribution of the flora in the alpine zone. 1. New phytologist, 11(2), 37-50.
f1 <- function(f) system.file("extdata", f,package="HierDpart")
HierJd_Island=HierJd(f1("Island.gen"),nreg=4,r=c(7,4,2,3),ncode=3)
print(HierJd_Island)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.