View source: R/randtest.amova.R
randtest.amova | R Documentation |
Tests the components of covariance with permutation processes described by Excoffier et al. (1992).
## S3 method for class 'amova' randtest(xtest, nrepet = 99, ...)
xtest |
an object of class |
nrepet |
the number of permutations |
... |
further arguments passed to or from other methods |
returns an object of class krandtest
or randtest
Sandrine Pavoine pavoine@mnhn.fr
Excoffier, L., Smouse, P.E. and Quattro, J.M. (1992) Analysis of molecular variance inferred from metric distances among DNA haplotypes: application to human mitochondrial DNA restriction data. Genetics, 131, 479–491.
data(humDNAm) amovahum <- amova(humDNAm$samples, sqrt(humDNAm$distances), humDNAm$structures) amovahum randtesthum <- randtest(amovahum, 49) plot(randtesthum)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.