Description Usage Arguments Value Author(s) Examples
This function returns a measure of genetic distance based upon the AMOVA distance metric.
1 | dist_amova(x)
|
x |
A |
The AMOVA distance matrix
Rodney J. Dyer rjdyer@vcu.edu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | AA <- locus( c("A","A") )
AB <- locus( c("A","B") )
BB <- locus( c("B","B") )
AC <- locus( c("A","C") )
AD <- locus( c("A","D") )
BC <- locus( c("B","C") )
BD <- locus( c("B","D") )
CC <- locus( c("C","C") )
CD <- locus( c("C","D") )
DD <- locus( c("D","D") )
loci <- c(AA,AB,AC,AD,BB,BC,BD,CC,CD,DD)
D <- dist_amova( loci )
rownames(D) <- colnames(D) <- as.character(loci)
D
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.