Description Usage Arguments Examples
Returns a dist object with genetic distences between populations. 4 indexes are availlable: "Euclidean", "Reynolds", "Roger" and "Nei".
1 | dist.pop(xx, pop, method = "reynolds", ploidy = 2)
|
xx |
A binary datafram of genotypes, individuals as row and alleles as column |
pop |
A vector informing of population every sample belongs to |
method |
A method for computing genetic distence between populations, can be any unambigous abreviation of "euclidean", "reynolds", "roger" or "nei" |
ploidy |
Interger or vector, ploidy level of the population or individuals |
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.