Ht | R Documentation |
Estimate expected heterozygosity
Returns the general expected total heterozygosity parameter
Ht(x, stratum = "Population")
x |
A |
stratum |
The name of the column representing the stratum variable (default=Population) |
Rodney J. Dyer rjdyer@vcu.edu
loci1 <- c( locus( c("A","A") ), locus( c("A","A") ), locus( c("A","B")))
loci2 <- c( locus( c("A","A") ), locus( c("A","B")), locus(c("B","B")))
df <- data.frame( Population=c("One","One","One","Two","Two","Two"), Locus=c(loci1,loci2) )
Ht( df )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.